Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Oct 19, 2024
1 parent 2849d97 commit 2890c18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ end
dependencies = ["is-clean", "release-testing", "doc", "changelog"]
description = "Pre-release tasks"
script = '''
exec git diff-index --quiet HEAD
diffed = exec git diff-index --quiet HEAD
diffed = exec git diff-index --exit-code HEAD
echo "DIFF index: ${diffed.code}"
if not eq ${diffed.code} 0
echo "Docs need committing. See the `git diff-index` output below:"
Expand All @@ -147,7 +146,6 @@ if not eq ${diffed.code} 0
exec --fail-on-error git add README.md CHANGELOG.md
echo "commit..."
exec --fail-on-error git commit -m "minor: Pre-release docs update"
echo "push..."
exec --fail-on-error git push
end
Expand Down

0 comments on commit 2890c18

Please sign in to comment.