Skip to content

Commit a9ac81c

Browse files
committed
fix double pipe
1 parent e1a0c89 commit a9ac81c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build_and_push.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ TAGS=" -t $TAG"
5858
if [[ ! -z $PACKAGE_LATEST_VERSION ]] && [[ $PACKAGE_LATEST_VERSION = $PACKAGE_VERSION ]]; then
5959
TAGS+=" -t $IMAGE_LOCATION:py${PUBLISH_TARGET}-LATEST"
6060

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

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

0 commit comments

Comments
 (0)