-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #429 from SteVwonder/release_notes_0.7.0
build: add release notes for 0.7.0 and update README.md
- Loading branch information
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
LASTTAG=$(git describe --tags --abbrev=0) | ||
|
||
# Uncomment URL here if you want Markdown encoded URL to PRs in output: | ||
# URL=https://github.com/flux-framework/flux-core/pull | ||
|
||
pr() { | ||
if test -n "$URL"; then | ||
echo "([#$1]($URL/$1))" | ||
else | ||
echo "(#$1)" | ||
fi | ||
} | ||
|
||
echo Changes since $LASTTAG: | ||
git log --pretty='%H' --merges $LASTTAG..HEAD | while read commit; do | ||
pr=$(git log --pretty=%s -n1 $commit | \ | ||
sed -e 's/Merge pull request #//' -e 's/ from .*//') | ||
body=$(git log --pretty=%b -n1 $commit) | ||
|
||
echo "${body} $(pr $pr)" | fmt -s \ | ||
| sed -e '1s/^/ * /' `: # Add bullet for first line` \ | ||
-e '2,$s/^/ /' `: # Indent all other lines 3 spaces` \ | ||
-e '/^\s*$/d' `: # Remove empty lines` | ||
done | ||
|
||
# vi:tabstop=4 shiftwidth=4 expandtab |