From 6e397bc3d06c9590ce311ef7d75dcd5c399d5e3a Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: Fri, 12 May 2023 03:34:38 +0000
Subject: [PATCH] Update generate-deploy-stages.sh

---
 generate-deploy-stages.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generate-deploy-stages.sh b/generate-deploy-stages.sh
index 73e6657..3f98518 100644
--- a/generate-deploy-stages.sh
+++ b/generate-deploy-stages.sh
@@ -5,7 +5,7 @@ basedir=$( cd "$(dirname "$0")" ; pwd -P )
 echo TRIGGER_PAYLOAD=$TRIGGER_PAYLOAD
 cat $TRIGGER_PAYLOAD 
 cat $TRIGGER_PAYLOAD | python3 -c "import sys, json; print(json.loads(json.load(sys.stdin)['payload'])['ref'])" | grep "uat"
-TAG=$(!!)
+TAG=$($(!!))
 touch deploy.yml
 if [ -z "${TAG}" ]; then
   git clone --single-branch --branch ${TAG} https://github.com/MAAP-Project/maap-workspaces.git
-- 
GitLab