We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb7f17 commit 9d8b0c3Copy full SHA for 9d8b0c3
1 file changed
bin/release.sh
@@ -339,11 +339,14 @@ main() {
339
340
wait_for_runs "${slug}" push "$(git rev-parse HEAD)" "push"
341
elif [[ "${relation}" == "gt" ]]; then
342
+ run_checks
343
if [[ -n "$(git status --short)" ]]; then
- echo "Refusing to publish existing unreleased version ${version} with a dirty worktree" >&2
344
- return 1
+ 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"
349
fi
- run_checks
350
else
351
echo "Current version ${version} is behind latest GitHub release ${latest}" >&2
352
return 1
0 commit comments