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.
git describe --exact-match
1 parent f2c51e8 commit 26eccf9Copy full SHA for 26eccf9
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