]> git.openfl.eu Git - yampl.git/commitdiff
fix deploy script
authorFl_GUI <flor.guilini@hotmail.com>
Sun, 13 Apr 2025 17:02:41 +0000 (19:02 +0200)
committerFl_GUI <flor.guilini@hotmail.com>
Sun, 13 Apr 2025 17:02:41 +0000 (19:02 +0200)
deploy.sh

index 446beb83c4b1fdc9cf3e152b7600f2358eeefbc1..a9964bdabc09442303c49ea23b8635f44eb9e252 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -64,7 +64,7 @@ echoSection ""
 if [ -z "$CONTAINER_REGISTRY_USERNAME$CONTAINER_REGISTRY_PASSWORD" ] ; then
   echoSection "skip"
 else
-  gitbranch=$(git branch --contains HEAD --format='%(refname:short)' | tail -n -1 | head -n 1
+  gitbranch=$(git branch --contains HEAD --format='%(refname:short)' | tail -n -1 | head -n 1)
 
   newimage="containers.openfl.eu/local/yampl:$gitbranch"
   podman tag $image $newimage