From: Fletcher T. Penney Date: Mon, 16 Nov 2015 02:54:40 +0000 (-0500) Subject: Autogenerate changelog since last commit to master X-Git-Tag: 0.1.0a~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d39d945239c7d750bd4b39f3af512b822443f6ce;p=multimarkdown Autogenerate changelog since last commit to master --- diff --git a/.gitignore b/.gitignore index f73aae0..1943c75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +CHANGELOG-UNRELEASED # Developer Tools *.pbxuser diff --git a/Makefile b/Makefile index 2b80eff..9b7c88e 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,12 @@ clean: rm -rf $(BUILD_DIR)/* # Create build directory if it doesn't exist -$(BUILD_DIR): +$(BUILD_DIR): CHANGELOG -mkdir $(BUILD_DIR) 2>/dev/null -cd $(BUILD_DIR); rm -rf * +# Generate a list of changes since last commit to 'master' branch +.PHONY : CHANGELOG +CHANGELOG: + git log master..develop --format="* %s" | sort | uniq > CHANGELOG-UNRELEASED +