Skip to content

Commit

Permalink
Add change log generator (crossbario#294)
Browse files Browse the repository at this point in the history
* Add changelog gen script

* changelog is now a markdown

* test minor change

* Remove changelog till a new release is tagged

* Point to right file
  • Loading branch information
om26er authored Oct 2, 2017
1 parent 4cde8a4 commit 41ecbf0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Empty file added CHANGELOG.md
Empty file.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ publish_android:
publish_netty:
AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} gradle bintrayUpload -PbuildPlatform=netty

generate_changelog:
./changelog_gen.sh

check_toolchain:
docker run -it --rm crossbario/autobahn-java:netty /bin/bash -c "ls -la /autobahn && du -hs /autobahn"

Expand Down
8 changes: 8 additions & 0 deletions changelog_gen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

set -e

echo '# Release' $(git describe --abbrev=0)'\n' >> CHANGELOG.md
git log $(git describe --abbrev=0)..HEAD --pretty=format:" * %s" >> CHANGELOG.md
echo '\n\n' >> CHANGELOG.md

0 comments on commit 41ecbf0

Please sign in to comment.