Skip to content

Commit 7bacb4e

Browse files
authored
Fix Debian multiple start tags
1 parent 4e929c6 commit 7bacb4e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,15 @@ jobs:
258258
id: nrVersion
259259
run: |
260260
TAGS=""
261+
while IFS= read -r TAG;do
262+
if [ -z "$TAGS" ]; then
263+
TAGS=$TAG
264+
else
265+
TAGS="$TAGS,$TAG"
266+
fi
267+
done <<< "${{ steps.meta.outputs.tags }}"
261268
262-
echo Original tags ${{ steps.meta.outputs.tags }}
269+
echo "Original tags $TAGS"
263270
264271
if [[ ! -z "${{ github.event.inputs.version }}" ]]; then
265272
TRAVIS_TAG=${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)