Browse files

build: Check MD5 sum of rockspec against tarball before releasing

  • Loading branch information...
1 parent c8bca0b commit 07e225f16c9a7ca724f92d55d299690ad49d0171 @rrthomas rrthomas committed Jul 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Makefile.am
View
1 Makefile.am
@@ -26,6 +26,7 @@ ChangeLog:
git2cl > ChangeLog
release: distcheck $(ROCKSPEC)
+ grep md5 $(ROCKSPEC) | sed -e 's/[^"]*"\([0-9a-f]\+\)",/\1 $(distdir).zip/' | md5sum --check - && \
git diff --exit-code && \
git push && \
woger lua,github package=$(PACKAGE) package_name=$(PACKAGE_NAME) version=$(VERSION) description="`LUA_INIT= LUA_PATH='$(abs_srcdir)/?.rockspec.in' $(LUA) -l$(PACKAGE) -e 'print (description.summary)'`" notes=release-notes-$(VERSION) dist_type=zip github_user=rrthomas

0 comments on commit 07e225f

Please sign in to comment.