remove early exit

This commit is contained in:
2026-03-01 00:35:54 +01:00
parent 43d4a2b35e
commit cb84cb354d

View File

@@ -38,13 +38,6 @@ runs:
id: bump
shell: bash
run: |
EXISTING_TAG="$(git tag --points-at HEAD "v*" | head -n 1)"
if [ -n "${EXISTING_TAG}" ]; then
echo "Tag ${EXISTING_TAG} already points at this commit; skipping bump."
echo "tag=${EXISTING_TAG}" >> "${GITHUB_OUTPUT}"
exit 0
fi
REF="${GITHUB_REF:-${GITEA_REF}}"
BRANCH="${REF#refs/heads/}"
git fetch origin "${BRANCH}" --tags