mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Add CHANGELOG.md with script to update it (#162)
Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
This commit is contained in:
parent
2e3683c419
commit
a9968ea811
2 changed files with 2675 additions and 0 deletions
2660
CHANGELOG.md
Normal file
2660
CHANGELOG.md
Normal file
File diff suppressed because it is too large
Load diff
15
scripts/changelog.sh
Executable file
15
scripts/changelog.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright IBM Corp. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
cat > CHANGELOG.new << EOF
|
||||||
|
## "${2}"
|
||||||
|
|
||||||
|
$(git log "$1..HEAD" --oneline | grep -v Merge | sed -e "s/\[\(FAB-[0-9]*\)\]/\[\1\](https:\/\/jira.hyperledger.org\/browse\/\1\)/" -e "s/ \(FAB-[0-9]*\)/ \[\1\](https:\/\/jira.hyperledger.org\/browse\/\1\)/" -e "s/\([0-9|a-z]*\)/* \[\1\](https:\/\/github.com\/hyperledger\/fabric-samples\/commit\/\1)/")
|
||||||
|
|
||||||
|
EOF
|
||||||
|
cat CHANGELOG.md >> CHANGELOG.new
|
||||||
|
mv -f CHANGELOG.new CHANGELOG.md
|
||||||
Loading…
Reference in a new issue