-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
b237858
commit 5614d00
Showing
5 changed files
with
41 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ out/ | |
# Other | ||
/temp/ | ||
/local.properties | ||
hs_err_pid*.log | ||
replay_pid*.log |
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 |
---|---|---|
@@ -1,26 +1,48 @@ | ||
## Publish release | ||
## Publish release `x.y` | ||
|
||
1. `git add CHANGELOG.md & git commit -m "Prepare x.y history"` | ||
(bullet points, optional if PRs/commits maintained nicely) | ||
1. `git add CHANGELOG.md & git commit -m "Release x.y"` | ||
update version end date | ||
* `CHANGELOG.md`: review bullet points of what changed | ||
* `CHANGELOG.md`: add links to PRs/commits for changes | ||
1. `git push origin master:master` | ||
1. `git tag vx.y` | ||
1. `git push origin vx.y` (or `--tags`) | ||
1. `gradlew bintray -PbintrayApiKey=...` | ||
1. Draft and publish a new release on GitHub (update links to latest!): | ||
1. Draft a new release on GitHub | ||
* "_Tag version_": `vx.y` @ Target: `master` | ||
* "_Release title_": `x.y Two Word Summary` (e.g. biggest change / reason for release) | ||
* "_Describe this release_": | ||
``` | ||
* important change 1 from change log | ||
* important change 2 from change log | ||
* TODO important change 1 from change log | ||
* TODO important change 2 from change log | ||
For full list of changes see [change log][1], [release milestone][2] and [diff][3]. | ||
<!-- TODO update these links to latest --> | ||
[1]: https://github.com/TWiStErRob/net.twisterrob.gradle/blob/v0.5/CHANGELOG.md#05-2018-04-02-----2018-04-16 | ||
[2]: https://github.com/TWiStErRob/net.twisterrob.gradle/milestone/1?closed=1 | ||
[3]: https://github.com/TWiStErRob/net.twisterrob.gradle/compare/v0.4...v0.5 | ||
``` | ||
1. `git add gradle.properties CHANGELOG.md & git commit -m "Release x.y"` | ||
* `gradle.properties`: remove `-SNAPSHOT` suffix | ||
* `CHANGELOG.md`: update version end date | ||
1. `gradlew bintrayPublish -PbintrayApiKey=...` | ||
Available from https://bintray.com/profile/edit > _API Key_ | ||
_If this fails, fix and amend last commit._ | ||
1. `git push origin master:master` | ||
1. Publish drafted release on GitHub | ||
Note: _this will create a tag on `master`, equivalent to:_ | ||
``` | ||
git checkout master | ||
git tag vx.y | ||
git push origin vx.y # or --tags | ||
1. Close `x.y` milestone | ||
* "Due date": release date | ||
* "Description": https://github.com/TWiStErRob/net.twisterrob.gradle/releases/tag/vx.y | ||
## Prepare next release `x.z` | ||
## Prepare next release | ||
1. `git add gradle.properties CHANGELOG.md & git commit -m "Pre-Release x.y+1"` | ||
update snapshot version number and add history section | ||
1. `git add gradle.properties CHANGELOG.md & git commit -m "Pre-Release x.z"` | ||
* `gradle.properties`: version number `x.z-SNAPSHOT` | ||
* `CHANGELONG.md`: add history section: | ||
``` | ||
## x.z *(YYYY-MM-DD --- )* | ||
* ... | ||
``` | ||
1. Create milestone `vx.z`, if doesn't exist yet. |
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