diff options
author | Loïc Hoguin <[email protected]> | 2019-04-05 10:38:46 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-04-05 10:53:59 +0200 |
commit | 7b86c1fd883fbdcecbd8db6ae792a683d10a4b31 (patch) | |
tree | cd56608385309e1431b7e5e62b242329a3472140 | |
parent | ad005b7d96441826a6fad1f6473ce69d11f53ca4 (diff) | |
download | cowlib-7b86c1fd883fbdcecbd8db6ae792a683d10a4b31.tar.gz cowlib-7b86c1fd883fbdcecbd8db6ae792a683d10a4b31.tar.bz2 cowlib-7b86c1fd883fbdcecbd8db6ae792a683d10a4b31.zip |
Add a prepare_tag target to help with releasing
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -74,3 +74,18 @@ endif perfs: test-build $(gen_verbose) erl -noshell -pa ebin -eval 'horse:app_perf($(PROJECT)), erlang:halt().' + +# Prepare for the release. + +prepare_tag: + $(verbose) echo -n "Most recent tag: " + $(verbose) git tag | tail -n1 + $(verbose) git verify-tag `git tag | tail -n1` + $(verbose) echo -n "MAKEFILE: " + $(verbose) grep -m1 PROJECT_VERSION Makefile + $(verbose) echo -n "APP: " + $(verbose) grep -m1 vsn ebin/$(PROJECT).app | sed 's/ //g' + $(verbose) echo + $(verbose) echo "Dependencies:" + $(verbose) grep ^DEPS Makefile || echo "DEPS =" + $(verbose) grep ^dep_ Makefile || true |