Skip to content

Commit

Permalink
improve git branch
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc committed Dec 8, 2022
1 parent a261e8c commit 0a08049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion computer-dist/scripts/apache-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ REPO="${GROUP}-computer"
# release version (input by committer)
RELEASE_VERSION=$1
# git release branch (check it carefully)
GIT_BRANCH="release-${RELEASE_VERSION}"
GIT_BRANCH="$(git branch --show-current)"

RELEASE_VERSION=${RELEASE_VERSION:?"Please input the release version behind script"}

Expand Down

0 comments on commit 0a08049

Please sign in to comment.