From c2fc4db65fa447717beac0f002fa578fff65447f Mon Sep 17 00:00:00 2001 From: Sergiu Dumitriu Date: Mon, 4 Dec 2023 14:40:49 -0500 Subject: [PATCH] CARDS-2317: Split CARDS into multiple projects Allow interpreting variables in the passed arguments, and allow definining a separate PROJECT_VERSION variable as the version for external projects --- start_cards.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start_cards.sh b/start_cards.sh index 47d2c7cc5e..ed80da29b3 100755 --- a/start_cards.sh +++ b/start_cards.sh @@ -353,7 +353,8 @@ do ARGS[$ARGS_LENGTH]=mvn:io.uhndata.cards/cards-slack-notifications/${CARDS_VERSION}/slingosgifeature ARGS_LENGTH=${ARGS_LENGTH}+1 else - ARGS[$i]=${ARGS[$i]/VERSION/${CARDS_VERSION}} + ARGS[$i]=${ARGS[$i]@P} + ARGS[$i]=${ARGS[$i]//VERSION/${CARDS_VERSION}} fi done