We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c37f93f commit 29b75d4Copy full SHA for 29b75d4
.github/workflows/cut_version.yml
@@ -25,9 +25,9 @@ jobs:
25
run: |
26
set -x
27
eval $(cat new-version.txt)
28
- echo "Current tag: $(git tag --points-at HEAD)"
+ echo -e "Current tag:\n$(git tag --points-at HEAD)"
29
echo "Expected tag: ${CURRENT_VERSION}"
30
- if [[ $(git tag --points-at HEAD) != "${CURRENT_VERSION}" ]]; then
+ if [[ ! $(git tag --points-at HEAD) =~ "${CURRENT_VERSION}" ]]; then
31
echo "Tag not properly set, aborting..."
32
exit 1
33
fi
0 commit comments