mirror of
https://github.com/newren/git-filter-repo.git
synced 2024-07-04 01:15:41 +02:00
Makefile: avoid releasing with uncommitted changes
Signed-off-by: Elijah Newren <newren@gmail.com>
This commit is contained in:
parent
fd64b0c7c0
commit
c5af37f82c
2
Makefile
2
Makefile
|
@ -91,6 +91,8 @@ github_release: update_docs
|
|||
test -n "$(GITHUB_COM_TOKEN)"
|
||||
test -n "$(TAGNAME)"
|
||||
test -n "$$COMMIT"
|
||||
# Make sure we don't have any staged or unstaged changes
|
||||
git diff --quiet --staged HEAD && git diff --quiet HEAD
|
||||
# Make sure 'jq' is installed
|
||||
type -p jq
|
||||
# Tag the release, push it to GitHub
|
||||
|
|
Loading…
Reference in New Issue
Block a user