-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# How to release | ||
|
||
## On a fork do | ||
|
||
```shell | ||
git switch -c release-x.y.z | ||
``` | ||
|
||
Edit [Rakefile](Rakefile) and set future version. | ||
|
||
```shell | ||
bundle config set --local path vendor/bundle | ||
bundle config set --local with 'release' | ||
bundle install | ||
|
||
CHANGELOG_GITHUB_TOKEN="token_MC_token-face" bundle exec rake changelog | ||
git add -A | ||
git commit -m 'Release X.Y.Z' | ||
git push origin releae-x.y.z | ||
``` | ||
|
||
## as a maintainer on upstream do | ||
|
||
```shell | ||
git switch master | ||
git pull | ||
git tag $version | ||
git push --tags | ||
``` |