fix: exit early if no changes worthy of a version bump
This commit is contained in:
@@ -49,9 +49,13 @@ handle_mr:
|
|||||||
needs:
|
needs:
|
||||||
- changelog
|
- changelog
|
||||||
before_script:
|
before_script:
|
||||||
- 'apk add --no-cache jq curl'
|
- 'apk add --no-cache git jq curl'
|
||||||
script:
|
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"
|
echo "Fetching existing release MRs"
|
||||||
MRS=$(curl -s \
|
MRS=$(curl -s \
|
||||||
-H "Authorization: Bearer ${UNBOUND_RELEASE_TOKEN}" \
|
-H "Authorization: Bearer ${UNBOUND_RELEASE_TOKEN}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user