diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a271d82 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +samlare: *.go + go build . + +release: samlare + echo "current version: " + @cat VERSION + @read -p "Version: " version; \ + echo $$version > VERSION; \ + git commit -a -m "release version $$version"; \ + git tag -a v$$version -m "release $$version"; \ + git push --tags origin master + +.PHONY: release