aboutsummaryrefslogtreecommitdiffstats
path: root/code/api/build_and_push.sh
diff options
context:
space:
mode:
authorivar <i@oiee.no>2024-04-28 22:37:48 +0200
committerivar <i@oiee.no>2024-04-28 22:37:48 +0200
commitf356f15d3a7dce1669944d23ab395ec96d042293 (patch)
tree03a82934ec802e2579daa45f748e959dc6598847 /code/api/build_and_push.sh
parentf99db65435f2cac81b5b48eb117991f4acd66a7e (diff)
downloadgreatoffice-f356f15d3a7dce1669944d23ab395ec96d042293.tar.xz
greatoffice-f356f15d3a7dce1669944d23ab395ec96d042293.zip
Misc
Diffstat (limited to 'code/api/build_and_push.sh')
-rwxr-xr-xcode/api/build_and_push.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/code/api/build_and_push.sh b/code/api/build_and_push.sh
index 163d7f3..820533a 100755
--- a/code/api/build_and_push.sh
+++ b/code/api/build_and_push.sh
@@ -8,10 +8,8 @@ CURRENT_VERSION=$(cat .version)
CURRENT_VERSION_INT=${CURRENT_VERSION//[!0-9]/}
if [ ${1-prod} == "dev" ]; then
NEW_VERSION="v$((CURRENT_DEV_VERSION_INT + 1))-dev"
- OLD_VERSION=$CURRENT_DEV_VERSION
else
NEW_VERSION="v$((CURRENT_VERSION_INT + 1))"
- OLD_VERSION=$CURRENT_VERSION
fi
IMAGE_NAME="greatoffice/server"
HUB_NAME="dr.ivar.systems/greatoffice/server"