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 1255004 commit 6b4be81Copy full SHA for 6b4be81
.buildkite/scripts/post-release.sh
@@ -23,10 +23,14 @@ git_push_with_auth() {
23
}
24
25
if [[ "${TAG_EXISTS}" == true ]]; then
26
- echo "Tag already exists! Exiting Post-release stage."
27
- exit 1
+ message="Tag '$TAG' already exists! Exiting Post-release stage."
+ echo "$message"
28
+ buildkite-agent annotate "$message" --style 'warning' --context 'ctx-warn'
29
+ # This should return any error but skip the release.
30
+ exit 0
31
fi
32
33
set_git_config
34
tag_commit
35
git_push_with_auth
36
+buildkite-agent annotate "Tag '$TAG' has been created." --style 'success' --context 'ctx-success'
0 commit comments