Skip to content

Commit

Permalink
fix: update release logic to grab consistent git tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri committed Jan 30, 2019
1 parent 9f860e5 commit 1622d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/update-read-only-git-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cd "$(dirname "$0")"
cd ../../

# Run helper subsplit script ported over from from https://raw.githubusercontent.com/dflydev/git-subsplit/master/git-subsplit.sh
CURRENT_VERSION=`git describe --abbrev=0`
CURRENT_VERSION=`git describe --tags --abbrev=0`
CURRENT_BRANCH=`git rev-parse --symbolic-full-name --abbrev-ref HEAD`

if [ -n "$(git status --porcelain)" ]; then
Expand Down

0 comments on commit 1622d24

Please sign in to comment.