diff --git a/upload-binaries.sh b/upload-binaries.sh index 3f9ebe5..893a518 100644 --- a/upload-binaries.sh +++ b/upload-binaries.sh @@ -1,7 +1,7 @@ #!/bin/bash # release or dev -CHANNEL=$1 +TAG=$1 # latest or latest-dev (or a specific version) BINARIES_IMAGE=$2 # passed as komodo variable @@ -9,7 +9,7 @@ KOMODO_VERSION=$3 # passed as komodo variable KOMODO_GIT_TOKEN=$4 -echo "Channel: ${CHANNEL}" +echo "Tag: ${TAG}" echo "Image: ${BINARIES_IMAGE}" echo "Version: ${KOMODO_VERSION}" @@ -27,10 +27,10 @@ docker cp $aarch64_id:/periphery ./periphery-aarch64 curl --user mbecker20:$KOMODO_GIT_TOKEN \ --upload-file ./periphery-x86_64 \ - https://git.komo.do/api/packages/moghtech/generic/periphery/$KOMODO_VERSION-$CHANNEL/periphery-x86_64 + https://git.komo.do/api/packages/moghtech/generic/periphery/$KOMODO_VERSION-$TAG/periphery-x86_64 curl --user mbecker20:$KOMODO_GIT_TOKEN \ --upload-file ./periphery-aarch64 \ - https://git.komo.do/api/packages/moghtech/generic/periphery/$KOMODO_VERSION-$CHANNEL/periphery-aarch64 + https://git.komo.do/api/packages/moghtech/generic/periphery/$KOMODO_VERSION-$TAG/periphery-aarch64 docker container rm $x86_64_id docker container rm $aarch64_id \ No newline at end of file