Skip to content

Commit 94a2123

Browse files
committed
Signed-off-by: Matt Stratton <[email protected]>
1 parent 7c090a1 commit 94a2123

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.version.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ PREVERSION=
2020
# changelog md -o CHANGELOG.md --vars='{"name":"devopsdays-cli", "user":"devopsdays"}'
2121
echo "committing CHANGELOG.md..."
2222
commit -q -m "Update changelog markdown for !newversion!" -f CHANGELOG.md
23+
echo "finalizing release notes..."
24+
github_changelog_generator --future-release "!newversion!" -o RELEASE.md --unreleased-only
25+
echo "committing CHANGELOG.md..."
26+
commit -q -m "Update release notes markdown for !newversion!" -f RELEASE.md
2327
echo "installing latest devopsdays-cli"
2428
go install --ldflags "-X github.com/devopsdays/devopsdays-cli/cmd.Version=!newversion!"
2529
echo "generating README.md..."

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test:
2020

2121
deploy:
2222
# go get -v github.com/inconshreveable/mousetrap
23-
- curl -sL https://git.io/goreleaser | rvm 2.4.1 do bash -s -- --release-notes=CHANGELOG.md
23+
- curl -sL https://git.io/goreleaser | rvm 2.4.1 do bash -s -- --release-notes=RELEASE.md
2424
# - curl -X PUT -T devopdays-cli_${VERSION}_linux-i386.deb -umattstratton:${BTKEY} 'https://api.bintray.com/content/devopsdays/deb/devopsdays-cli/${VERSION}/pool/main/d/devopsdays/devopdays-cli_${VERSION}_linux-386.deb;deb_distribution=devopsdays;deb_component=main;deb_architecture=i386;publish=1'
2525
# - curl -X PUT -T devopdays-cli_${VERSION}_linux-amd64.deb -umattstratton:${BTKEY} 'https://api.bintray.com/content/devopsdays/deb/devopsdays-cli/${VERSION}/pool/main/d/devopsdays/devopdays-cli_${VERSION}_linux-amd64.deb;deb_distribution=devopsdays;deb_component=main;deb_architecture=amd64;publish=1'
2626
# - curl PUT -T devopdays-cli_$VERSION_linux-i386.rpm -umattstratton:{BTKEY} 'https://api.bintray.com/content/devopsdays/rpm/devopsdays-cli/${VERSION}/devopdays-cli_$VERSION_linux-386.rpm;publish=1'

0 commit comments

Comments
 (0)