File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,3 +19,6 @@ kenza/data/
1919
2020# mkdocs documentation
2121/site
22+
23+ # Ephemeral CHANGELOG entries
24+ CHANGELOG- *
Original file line number Diff line number Diff line change 1+ # Changelog
2+ All notable changes to this project will be documented in this file.
3+
4+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/3.0.0/ ) ,
5+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6+
7+ ## [ Unreleased]
8+
9+ ## [ 0.0.1-alpha] - 2020-05-31
10+ ### Added
11+ - Initial commit, docs, README and CHANGELOG.
12+ - Release config for publishing archives and binaries.
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ Download the binary from the latest GitHub release:
1212
1313``` sh
1414# Linux
15- curl -L https://github.com/kenza-ai/kenza/releases/download/v0.0.1-alpha/kenza-linux-amd64 -o kenza
15+ curl -L https://github.com/kenza-ai/kenza/releases/download/v0.0.1-alpha/kenza_0.0.1-alpha_linux_amd64 -o kenza
1616```
1717
1818``` sh
1919# macOS
20- curl -L https://github.com/kenza-ai/kenza/releases/download/v0.0.1-alpha/kenza-darwin-amd64 -o kenza
20+ curl -L https://github.com/kenza-ai/kenza/releases/download/v0.0.1-alpha/kenza_0.0.1-alpha_darwin_amd64 -o kenza
2121```
2222
2323Move it under a PATH directory, we prefer ` /usr/local/bin ` :
Original file line number Diff line number Diff line change 1717
1818# 1. Tag the release
1919git tag -a $tag -m " $tag "
20- git push --tags
2120
2221# 2. Release to GitHub
23- goreleaser --rm-dist
22+ if goreleaser --release-notes=CHANGELOG-$tag .md ; then
23+ echo " Release succeeded"
24+ else
25+ echo " Release failed"
26+ git tag -d $tag && git push origin --delete $tag
27+ fi
You can’t perform that action at this time.
0 commit comments