Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Commit

Permalink
Change time based changelog to diff between master and last tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Schmidmeister committed Jan 12, 2017
1 parent 5ad46f1 commit da58336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ -z "${1}" ]; then
exit 1
fi

CHANGELOG=$(git log --pretty=format:"- %s%n" --since="$(git show -s --format=%ad `git rev-list --tags --max-count=1`)" | grep -v "Merge branch" | grep .)
CHANGELOG=$(git log --pretty=format:"- %s%n" master...$(git describe --abbrev=0 --tags) | grep -v "Merge branch" | grep -v "Merge commit" | grep .)
MESSAGE="${1}\n\n${CHANGELOG}"
FILE=$(mktemp)

Expand Down

0 comments on commit da58336

Please sign in to comment.