Permalink
Browse files

sign a release

add the generation of signature files. While I'm here create a quick
howto make a release.
  • Loading branch information...
1 parent 608fbe4 commit 630408dc63ab63fea80f64ba39a0a6ff2027efa0 @benoitc committed Nov 28, 2012
Showing with 25 additions and 1 deletion.
  1. +7 −1 Makefile
  2. +18 −0 RELEASE.md
View
@@ -55,6 +55,12 @@ buildtar = mkdir distdir && \
distdir: rebar
$(if $(ERICA_TAG), $(call buildtar), $(error "You can't generate a release tarball from a non-tagged revision. Run 'git checkout <tag>', then 'make dist'"))
-dist $(ERICA_TAG).tar.gz: distdir
+cleandist:
+ @rm -rf distdir
+ @rm -rf *.gz
+
+dist $(ERICA_TAG).tar.gz: cleandist distdir
cd distdir; \
tar czf ../$(ERICA_TAG).tar.gz $(ERICA_TAG)
+ openssl sha1 $(ERICA_TAG).tar.gz > $(ERICA_TAG).tar.gz.info
+ openssl md5 $(ERICA_TAG).tar.gz >> $(ERICA_TAG).tar.gz.info
View
@@ -0,0 +1,18 @@
+# Make a release
+
+Quick description of the process to make a release.
+
+1. All releases should be tagged `erica-<vsn>` . The prefix **erica-** is
+important.
+2. Do a git clean -fdx before starting
+3. make dist
+5. Upload the release tarball and the generated signature file to the
+github download repository
+
+## Requirements
+
+- git
+- tar
+- gzip
+- openssl
+

0 comments on commit 630408d

Please sign in to comment.