Skip to content

Commit 7c7ba3c

Browse files
committed
String concatenation *is* needed
1 parent e54f8f0 commit 7c7ba3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build_and_push.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ TAGS=" -t $TAG"
5656

5757
# For the latest version we do extra stuff.
5858
if [[ ! -z $PACKAGE_LATEST_VERSION ]] && [[ $PACKAGE_LATEST_VERSION = $PACKAGE_VERSION ]]; then
59-
TAGS=" -t $IMAGE_LOCATION:py${PUBLISH_TARGET}-LATEST"
59+
TAGS+=" -t $IMAGE_LOCATION:py${PUBLISH_TARGET}-LATEST"
6060

6161
VERSION_SHORTER=$(echo $PACKAGE_VERSION | cut -d"." -f1,2)
62-
TAGS=" -t $IMAGE_LOCATION:py${PUBLISH_TARGET}-${VERSION_SHORTER}"
62+
TAGS+=" -t $IMAGE_LOCATION:py${PUBLISH_TARGET}-${VERSION_SHORTER}"
6363

6464
VERSION_SHORTERER=$(echo $PACKAGE_VERSION | cut -d"." -f1)
6565
if [[ $VERSION_SHORTERER != "0" ]]; then
66-
TAGS=" -t $IMAGE_LOCATION:py${PUBLISH_TARGET}-${VERSION_SHORTERER}"
66+
TAGS+=" -t $IMAGE_LOCATION:py${PUBLISH_TARGET}-${VERSION_SHORTERER}"
6767
fi
6868
fi
6969

0 commit comments

Comments
 (0)