Skip to content

Commit

Permalink
Add missing parameter to sed
Browse files Browse the repository at this point in the history
  • Loading branch information
goulven04 committed Dec 25, 2024
1 parent d11bf7c commit 93af8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
version="${{ steps.short-sha.outputs.sha }}"
if [ "${{ github.ref_type }}" == "tag" ]; then
version=$(echo ${{ github.ref }} | sed 's/refs\/tags\/(v)?//g')
version=$(echo ${{ github.ref }} | sed -E 's/refs\/tags\/(v)?//g')
fi
echo "version=$version" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 93af8f7

Please sign in to comment.