mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 02:50:46 -05:00
Replace newline and comma characters with dashes in TAGS output
This commit is contained in:
parent
3714bd83be
commit
abb253bd1e
@ -42,7 +42,9 @@ jobs:
|
||||
if [ -z "$TAGS" ]; then
|
||||
TAGS="no-tag"
|
||||
fi
|
||||
printf "::set-output name=tags::%s" "${TAGS//$'\n'/,}"
|
||||
TAGS="${TAGS//$'\n'/-}" # Replace newline characters with dashes
|
||||
TAGS="${TAGS//,/-}" # Replace commas with dashes
|
||||
echo "::set-output name=tags::${TAGS}"
|
||||
echo "Commit Hash: ${{ steps.cache-keys.outputs.commit_hash }}"
|
||||
echo "Tags: ${{ steps.cache-keys.outputs.tags }}"
|
||||
shell: bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user