Skip to content

Commit

Permalink
fix bash syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb committed Nov 13, 2024
1 parent d86ed69 commit 9ff62a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
tag=
if [[ "${{ github.event_name }}" == 'workflow_dispatch' ]]; then
tag="$(awk -F: '/^version:/ snap/snapcraft.yaml {print $2}' | tr -d '[:space:]')"
tag="$(awk -F: '/^version:/ {print $2}' snap/snapcraft.yaml | tr -d '[:space:]')"
else
tag="${{inputs.tag}}"
fi
Expand Down

0 comments on commit 9ff62a6

Please sign in to comment.