Skip to content

Commit

Permalink
Remove ref/tags from version
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Jan 27, 2021
1 parent 846e102 commit dc642e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ docker images
# eg before: 0.18.24-1, after 0.18.24
if [[ ${BRANCH:-} ]]; then
BRANCH_VERSION=${BRANCH%-*}
BRANCH_VERSION=${BRANCH_VERSION#refs/tags/}
fi

# only push when:
Expand Down

0 comments on commit dc642e9

Please sign in to comment.