diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -29,3 +29,11 @@ clean: dist: all git2cl > ChangeLog cd .. && rm -f $(DISTFILE) && zip $(DISTFILE) -r $(PROJECT) -x "lrexlib/.git/*" "*.gitignore" "*.o" "*.a" "*.so" "*.so.*" "*.zip" "*SciTE.properties" "*scite.properties" && mv $(DISTFILE) $(PROJECT) && cd $(PROJECT) && unzip $(DISTFILE) && mv $(PROJECT) $(PROJECT_VERSIONED) && rm -f $(DISTFILE) && zip $(DISTFILE) -r $(PROJECT_VERSIONED) && rm -rf $(PROJECT_VERSIONED) + +release: + agrep -d 'Release' $(VERSION) NEWS | tail -n +3 | head -n -2 > release-notes && \ + git diff --exit-code && \ + git tag -a -m "Release tag" rel-`echo $(VERSION) | sed -e 's/\./-/g'` && \ + git push && \ + woger lua-l $(PROJECT) "$(PROJECT)" $(VERSION) "Lua binding for regex libraries" release-notes && \ + rm -f release-notes |