Skip to content

Commit feba9f6

Browse files
authored
Fix push Docker script for releases (#399)
1 parent 405c0f8 commit feba9f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build_push_docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ TAG=''
66
if [ "$1" = "master" ]; then
77
TAG="master-$(git rev-parse --short HEAD)"
88
else
9+
git fetch --tags
910
TAG=$(git describe --tags --abbrev=0 | cut -d "v" -f 2)
1011
fi
1112

0 commit comments

Comments
 (0)