mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:00 -04:00
add major version tag
This commit is contained in:
@@ -26,7 +26,7 @@ echo "Annotating Images: ${IMAGES}"
|
||||
|
||||
# Build all the Docker tags if the source branch is a release and not a branch.
|
||||
if [ "v$VERSION" = "$SOURCE_BRANCH" ]; then
|
||||
TAGS="$VERSION $(echo $VERSION | cut -d. -f1,2)"
|
||||
TAGS="$VERSION $(echo $VERSION | cut -d. -f1,2) $(echo $VERSION | cut -d. -f1)"
|
||||
|
||||
echo $SOURCE_BRANCH | grep -q -- -
|
||||
if [ "$?" = "1" ]; then
|
||||
|
||||
Reference in New Issue
Block a user