Skip to content

Commit

Permalink
JCF: Issue #361: refine the logic whereby the target package full Spa…
Browse files Browse the repository at this point in the history
…ck name is deduced from the nightly tag acronym to support adding a letter to denote a test build (e.g., FDT instead of FD)
  • Loading branch information
John Freeman committed Apr 30, 2024
1 parent 4afa0e5 commit d1ed8e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wf-setup-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ if [[ -z $FULL_UMBRELLA_ABBREV ]]; then
exit 4
fi

if [[ "$FULL_UMBRELLA_ABBREV" == "FD" ]]; then
if [[ "$FULL_UMBRELLA_ABBREV" =~ ^FD.{0,1}$ ]]; then
export FULL_UMBRELLA="fddaq"
elif [[ "$FULL_UMBRELLA_ABBREV" == "ND" ]]; then
elif [[ "$FULL_UMBRELLA_ABBREV" =~ ^ND.{0,1}$ ]]; then
export FULL_UMBRELLA="nddaq"
elif [[ "$FULL_UMBRELLA_ABBREV" == "FDDU" ]]; then
elif [[ "$FULL_UMBRELLA_ABBREV" =~ ^FDDU.{0,1}$ ]]; then
export FULL_UMBRELLA="fddatautilities"
else
echo "Unknown full umbrella package abbreviation \"$FULL_UMBRELLA_ABBREV\"; exiting..." >&2
Expand Down

0 comments on commit d1ed8e0

Please sign in to comment.