Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdoerr committed Jul 17, 2023
1 parent 62d2885 commit b7b902f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ifndef version
$(error version variable is not set. Call with `make release version=XXX`)
endif

release:
git checkout main
git fetch
git pull
git tag -a $(version) -m "$(version) release"
git push --tags origin $(version)

0 comments on commit b7b902f

Please sign in to comment.