mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Add a prepare_tag target to help with releasing
This commit is contained in:
parent
d5489b4c73
commit
39a0bf4bee
1 changed files with 26 additions and 0 deletions
26
Makefile
26
Makefile
|
@ -80,3 +80,29 @@ $(H2SPEC):
|
|||
ci-setup:: clean deps test-deps
|
||||
$(gen_verbose) cp ~/.kerl/builds/$(CI_OTP_RELEASE)/otp_src_git/lib/ssl/test/erl_make_certs.erl deps/ct_helper/src/ || true
|
||||
$(gen_verbose) $(MAKE) -C $(DEPS_DIR)/ct_helper clean app
|
||||
|
||||
# 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 -n "GUIDE: "
|
||||
$(verbose) grep -h dep_$(PROJECT)_commit doc/src/guide/*.asciidoc || true
|
||||
$(verbose) echo
|
||||
$(verbose) echo "Titles in most recent CHANGELOG:"
|
||||
$(verbose) for f in `ls -r doc/src/guide/migrating_from_*.asciidoc | head -n1`; do \
|
||||
echo $$f:; \
|
||||
grep == $$f; \
|
||||
done
|
||||
$(verbose) echo
|
||||
$(verbose) echo "Dependencies:"
|
||||
$(verbose) grep ^DEPS Makefile || echo "DEPS ="
|
||||
$(verbose) grep ^dep_ Makefile || true
|
||||
$(verbose) echo
|
||||
$(verbose) echo "rebar.config:"
|
||||
$(verbose) cat rebar.config || true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue