fix(ci): improve version checking in the CI pipeline #25

Merged
argoyle merged 1 commits from update-version-check-logic into main 2024-11-27 14:10:19 +00:00
+2 -1
View File
@@ -52,7 +52,8 @@ unbound_release_handle_mr:
- 'apk add --no-cache git jq curl'
script:
- |
if [[ "$(cat VERSION)" == "$(git describe --abbrev=0 --tags)" ]]; then
LATEST="$(git describe --abbrev=0 --tags 2>/dev/null)"
if [[ -n "${LATEST}" && "$(cat VERSION)" == "${LATEST}" ]]; then
echo "No changes worthy of a version bump"
exit 0
fi