Skip to content

Commit

Permalink
chore: improve release script
Browse files Browse the repository at this point in the history
  • Loading branch information
copernico committed Oct 1, 2020
1 parent 3acf85d commit a158a35
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog (`kaybee` tool)

<a name="v0.6.10"></a>
## [v0.6.10](https://github.com/sap/project-kb/compare/v0.6.9...v0.6.10)

### Misc
* improve release script ([3acf85d](https://github.com/sap/project-kb/commit/3acf85d))

<a name="v0.6.7"></a>
## [v0.6.7](https://github.com/sap/project-kb/compare/v0.6.6...v0.6.7)

Expand Down
2 changes: 1 addition & 1 deletion kaybee/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.10-dev
0.6.10
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ echo "Creating changelog..."
> NEW-CHANGELOG.md
head -n1 CHANGELOG.md >> NEW-CHANGELOG.md
echo >> NEW-CHANGELOG.md
$PROJECT_ROOT/scripts/changelog-gen.py >> CHANGELOG-${RELEASE}.md
cat CHANGELOG-${RELEASE}.md >> NEW-CHANGELOG.md
$PROJECT_ROOT/scripts/changelog-gen.py >> /tmp/CHANGELOG-${RELEASE}.md
cat /tmp/CHANGELOG-${RELEASE}.md >> NEW-CHANGELOG.md
tail -n +2 CHANGELOG.md >> NEW-CHANGELOG.md
mv NEW-CHANGELOG.md CHANGELOG.md

Expand Down

0 comments on commit a158a35

Please sign in to comment.