Skip to content

Commit d462d28

Browse files
committed
makefile
1 parent d9d8041 commit d462d28

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ifndef version
2+
$(error version variable is not set. Call with `make release version=XXX`)
3+
endif
4+
5+
release:
6+
git checkout main
7+
git fetch
8+
git pull
9+
git tag -a $(version) -m "$(version) release"
10+
git push --tags origin $(version)

0 commit comments

Comments
 (0)