]> granicus.if.org Git - multimarkdown/commitdiff
Autogenerate changelog since last commit to master
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Mon, 16 Nov 2015 02:54:40 +0000 (21:54 -0500)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Mon, 16 Nov 2015 02:54:40 +0000 (21:54 -0500)
.gitignore
Makefile

index f73aae0f69b422c4fb82687be12252b732df2c4f..1943c7575147dd8e33b28776c77a6160b5f92630 100644 (file)
@@ -1,4 +1,5 @@
 .DS_Store
+CHANGELOG-UNRELEASED
 
 # Developer Tools
 *.pbxuser
index 2b80effc297317d41cda7670dc6943699bd82dbe..9b7c88e814f2669d7bc355b34080850572035a86 100644 (file)
--- 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
+