Skip to content

Commit

Permalink
Release 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Oct 14, 2018
1 parent b237858 commit 5614d00
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ out/
# Other
/temp/
/local.properties
hs_err_pid*.log
replay_pid*.log
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

## 0.7 *(2018-10-01 --- )*
## 0.7 *(2018-10-01 --- 2018-10-10)*
* Publish `-sources.jar` files (#13)
* Android Gradle Plugin 3.2.0 (#12)
* Use Android 28 for testing (#12)
Expand Down
50 changes: 36 additions & 14 deletions RELEASE.md
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.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ plugins {
`base` // just to get some support for subproject stuff, for example access to project.base
// kotlin("jvm") apply false
`maven-publish`
id("com.jfrog.bintray") version "1.8.0"
id("com.jfrog.bintray") version "1.8.4"
}

val VERSION: String by project
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#org.gradle.parallel=true
org.gradle.warning.mode=all
org.gradle.deprecation.trace=true
VERSION=0.7-SNAPSHOT
VERSION=0.7
VERSION_JAVA=1.8
# https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md
VERSION_KOTLIN=1.2.71
Expand Down

0 comments on commit 5614d00

Please sign in to comment.