fix: exit early if no changes worthy of a version bump
This commit is contained in:
@@ -49,9 +49,13 @@ handle_mr:
|
||||
needs:
|
||||
- changelog
|
||||
before_script:
|
||||
- 'apk add --no-cache jq curl'
|
||||
- 'apk add --no-cache git jq curl'
|
||||
script:
|
||||
- |
|
||||
if [[ "$(cat VERSION)" == "$(git describe --abbrev=0 --tags)" ]]; then
|
||||
echo "No changes worthy of a version bump"
|
||||
exit 0
|
||||
fi
|
||||
echo "Fetching existing release MRs"
|
||||
MRS=$(curl -s \
|
||||
-H "Authorization: Bearer ${UNBOUND_RELEASE_TOKEN}" \
|
||||
|
||||
Reference in New Issue
Block a user