Skip to content

Commit

Permalink
Adjusted script
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese committed Aug 21, 2024
1 parent b746435 commit 0bda106
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions service_config/version_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ for artifact in "${artifacts[@]}"; do
done < <(find "../$artifact" -name "pom.xml")
done

# Join the array elements into a string with a comma as delimiter
ARTIFACTS_TO_BE_RELEASED_STR=$(IFS=","; echo "${artifacts_to_be_released[*]}")
echo "Final list of artifacts to be released: ${ARTIFACTS_TO_BE_RELEASED_STR[@]}"
# Use GitHub Actions command to set an environment variable
echo "ARTIFACTS_TO_BE_RELEASED=$ARTIFACTS_TO_BE_RELEASED_STR" >> $GITHUB_ENV
# Join the array elements into a string with a comma as delimiter
ARTIFACTS_TO_BE_RELEASED_STR=$(IFS=","; echo "${artifacts_to_be_released[*]}")
echo "Final list of artifacts to be released: ${ARTIFACTS_TO_BE_RELEASED_STR}"
# Use GitHub Actions command to set an environment variable
echo "::set-env name=ARTIFACTS_TO_BE_RELEASED::${ARTIFACTS_TO_BE_RELEASED_STR}"

0 comments on commit 0bda106

Please sign in to comment.