aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]enines.eu>2021-05-12 12:04:03 +0200
committerLoïc Hoguin <[email protected]>2021-05-12 12:04:03 +0200
commit2a082504996afccf78185182cd168123800bd4f0 (patch)
tree262288a131fca6d99833bb72b34000bb73a5ded8
parent04ca4c5d31a92d4d3de087bbd7d6021dc4a6d409 (diff)
downloadcowboy-2a082504996afccf78185182cd168123800bd4f0.tar.gz
cowboy-2a082504996afccf78185182cd168123800bd4f0.tar.bz2
cowboy-2a082504996afccf78185182cd168123800bd4f0.zip
Add Hex metadataHEADmaster
-rw-r--r--Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index acfe98c..2930a49 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,20 @@ AUTO_CI_HIPE ?= OTP-LATEST
# AUTO_CI_ERLLVM ?= OTP-LATEST
AUTO_CI_WINDOWS ?= OTP-LATEST-22+
+# Hex configuration.
+
+define HEX_TARBALL_EXTRA_METADATA
+#{
+ licenses => [<<"ISC">>],
+ links => #{
+ <<"User guide">> => <<"https://ninenines.eu/docs/en/cowboy/2.9/guide/">>,
+ <<"Function reference">> => <<"https://ninenines.eu/docs/en/cowboy/2.9/manual/">>,
+ <<"GitHub">> => <<"https://github.com/ninenines/cowboy">>,
+ <<"Sponsor">> => <<"https://github.com/sponsors/essen">>
+ }
+}
+endef
+
# Standard targets.
include erlang.mk
@@ -84,9 +98,11 @@ ci-setup:: clean deps test-deps
# Prepare for the release.
prepare_tag:
+ $(verbose) $(warning Hex metadata: $(HEX_TARBALL_EXTRA_METADATA))
+ $(verbose) echo
$(verbose) echo -n "Most recent tag: "
- $(verbose) git tag | tail -n1
- $(verbose) git verify-tag `git tag | tail -n1`
+ $(verbose) git tag --sort taggerdate | tail -n1
+ $(verbose) git verify-tag `git tag --sort taggerdate | tail -n1`
$(verbose) echo -n "MAKEFILE: "
$(verbose) grep -m1 PROJECT_VERSION Makefile
$(verbose) echo -n "APP: "