Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
Adjust script to work without fork, directly.
  • Loading branch information
pallavisontakke committed Jan 14, 2025
1 parent 7458726 commit 01c617f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions scripts/release/create_minor_release_PR_commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -eu
# Folder, where we have cloned repositories' sources
SOURCES_DIR="timescaledb"

GH_USERNAME=$(gh auth status | grep 'Logged in to' |cut -d ' ' -f 9)

#folder-name
FORK_DIR="timescaledb"

Expand Down
6 changes: 2 additions & 4 deletions scripts/release/create_minor_release_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -eu
# Folder, where we have cloned repositories' sources
SOURCES_DIR="timescaledb"

GH_USERNAME=$(gh auth status | grep 'Logged in to' |cut -d ' ' -f 9)

FORK_DIR="timescaledb"

echo "---- Deriving the release related versions from main ----"
Expand All @@ -25,6 +23,6 @@ echo "NEW_VERSION is $NEW_VERSION"
echo "---- Creating the version branch from main ----"

git fetch --all
git checkout -b "$RELEASE_BRANCH" upstream/main
git push upstream "$RELEASE_BRANCH":"$RELEASE_BRANCH"
git checkout -b "$RELEASE_BRANCH" origin/main
git push origin "$RELEASE_BRANCH":"$RELEASE_BRANCH"

0 comments on commit 01c617f

Please sign in to comment.