Skip to content

Commit 9d8b0c3

Browse files
committed
release: v1.11.10
1 parent 4bb7f17 commit 9d8b0c3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

bin/release.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,14 @@ main() {
339339

340340
wait_for_runs "${slug}" push "$(git rev-parse HEAD)" "push"
341341
elif [[ "${relation}" == "gt" ]]; then
342+
run_checks
342343
if [[ -n "$(git status --short)" ]]; then
343-
echo "Refusing to publish existing unreleased version ${version} with a dirty worktree" >&2
344-
return 1
344+
git add -A
345+
git commit -m "release: ${TAG_PREFIX}${version}"
346+
git push origin "${branch}"
347+
348+
wait_for_runs "${slug}" push "$(git rev-parse HEAD)" "push"
345349
fi
346-
run_checks
347350
else
348351
echo "Current version ${version} is behind latest GitHub release ${latest}" >&2
349352
return 1

0 commit comments

Comments
 (0)