Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ check_not_stuck() {
local base=$1
local branch=$2

[ -n "$DRYRUN" ] && return
git rev-parse "v_${base}" >/dev/null 2>&1 || return
if [ -n "$DRYRUN" ]; then
return 0
fi

if ! git show-ref --verify --quiet "refs/tags/v_${base}"; then
return 0
fi

echo "::error::${branch} is stuck at version ${base}, which is already tagged (v_${base})."
echo "::error::The automated post-release version-bump PR for this branch was never merged."
Expand Down
Loading