Skip to content

Commit

Permalink
[TAG]v3-tagged test
Browse files Browse the repository at this point in the history
test fix newline handling
  • Loading branch information
SandroBarillaPXL committed Oct 3, 2024
1 parent 7c895a2 commit 6e05623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
COMMIT_MSG="${{ github.event.head_commit.message }}"
echo "Commit message: $COMMIT_MSG"
if [[ "$COMMIT_MSG" =~ ^\[TAG\] ]]; then
TAG=$(echo "$COMMIT_MSG" | sed 's/^\[TAG\] *//')
TAG=$(echo "$COMMIT_MSG" | sed 's/^\[TAG\] *//' | tr -d '\r\n')
echo "TAG=$TAG" >> $GITHUB_ENV
else
echo "TAG=latest" >> $GITHUB_ENV
Expand Down

0 comments on commit 6e05623

Please sign in to comment.