fix(ci): improve version checking in the CI pipeline #25
@@ -52,7 +52,8 @@ unbound_release_handle_mr:
|
|||||||
- 'apk add --no-cache git jq curl'
|
- 'apk add --no-cache git jq curl'
|
||||||
script:
|
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"
|
echo "No changes worthy of a version bump"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user