Skip to content

Commit

Permalink
output GIT_BRANCH
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Mar 10, 2021
1 parent 7be9562 commit 9737667
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/github/github_get_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export CURRENT_VERSION=$(git describe --tag --always --long | sed -e 's/\(.*\)-\
export GIT_BRANCH=$(git branch --show-current)
echo "GIT_BRANCH=${GIT_BRANCH}" >> $GITHUB_ENV
echo ::set-output name=GIT_BRANCH::${GIT_BRANCH}
echo "GIT_BRANCH:${GIT_BRANCH}"

echo "CURRENT_VERSION:${CURRENT_VERSION}"
declare -a CURRENT_VERSION_ARRAY="(${CURRENT_VERSION//./ })";
Expand Down

0 comments on commit 9737667

Please sign in to comment.