Skip to content

Commit

Permalink
chore(tag.sh): Take into account them quotes!
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Hutter <[email protected]>
  • Loading branch information
mhutter committed Oct 25, 2024
1 parent 724fb0a commit 82a378d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

tag="v$(awk -F'=' '/ENV MODULESYNC_VERSION/{ print $2 }' Dockerfile)"
tag="v$(awk -F'"' '/ENV MODULESYNC_VERSION/{ print $2 }' Dockerfile)"
git tag -s "${tag}" -m "Release ${tag}"

echo "---> Tagged as ${tag}"
Expand Down

0 comments on commit 82a378d

Please sign in to comment.