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 04432b1 commit ce1b26aCopy full SHA for ce1b26a
continuous-delivery/test_version_exists
@@ -7,7 +7,7 @@ git describe --tags
7
CURRENT_TAG=$(git describe --tags | cut -f2 -dv)
8
# convert v0.2.12-2-g50254a9 to 0.2.12
9
CURRENT_TAG_VERSION=$(git describe --tags | cut -f1 -d'-' | cut -f2 -dv)
10
-if there's a hash on the tag, then this is not a release tagged commit
+# if there's a hash on the tag, then this is not a release tagged commit
11
if [ "$CURRENT_TAG" != "$CURRENT_TAG_VERSION" ]; then
12
echo "Current tag version is not a release tag, cut a new release if you want to publish."
13
exit 1
0 commit comments