mirror of
https://github.com/flynx/photobook.git
synced 2025-10-28 18:00:10 +00:00
added test for uncommited cnages...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3efd35c8fe
commit
c72756c693
2
Makefile
2
Makefile
@ -298,6 +298,8 @@ tag:
|
||||
| tail -n 5 \
|
||||
| sed 's/^/ /' \
|
||||
| tac
|
||||
@[ $$(git status --porcelain=v1 2> /dev/null | grep -v '??' | wc -l) = 0 ] \
|
||||
|| echo -e "\nWARNING: There are uncommited changes!\n"
|
||||
@echo "Note that this must be done after a commit and a push."
|
||||
@read -p "(press any key to continue or ctrl-c to cancel)"
|
||||
git tag "v$(VERSION)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user