We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
git describe --exact-match
1 parent f2c51e8 commit 26eccf9Copy full SHA for 26eccf9
1 file changed
Makefile
@@ -39,7 +39,8 @@ uninstall:
39
40
.PHONY: release
41
release:
42
- git describe --exact-match >/dev/null 2>&1 || git tag -s $(shell date +%Y%m%d)
+ git describe --exact-match >/dev/null 2>&1 && { echo "Last commit is already tagged" >&2; exit 1; }
43
+ git tag -s $(shell date +%Y%m%d)
44
git push --tags
45
gh release create --generate-notes ${TAG}
46
0 commit comments