Skip to content

Commit

Permalink
#20: print branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
gowthamnvv committed Oct 18, 2021
1 parent b544632 commit 0bc2a8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
BRANCH=${GITHUB_REF##*/}
fi
echo "$BRANCH"
echo "GITHUB_BRANCH=${BRANCH}" >> $GITHUB_ENV
if [ "$BRANCH" == "master" ]; then
version=$(cat ./server/build.gradle | grep "archiveVersion" | head -1 | awk -F= "{ print $2 }" | sed "s/[archiveVersion =,',]//g")
Expand Down

0 comments on commit 0bc2a8e

Please sign in to comment.