Skip to content

Commit

Permalink
Update RELEASING now that it\s manual publishing again
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Aug 25, 2021
1 parent 942a53c commit d312b98
Showing 1 changed file with 28 additions and 9 deletions.
37 changes: 28 additions & 9 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,34 @@

See the [prerequisites](#prerequisites) if this is your first release.

1. Check [closed issues without a milestone](https://github.com/sbt/sbt-java-formatter/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20no%3Amilestone) and either assign them the upcoming release milestone or 'invalid'
1. Create a [new release](https://github.com/sbt/sbt-java-formatter/releases/new) with:
* the next tag version (e.g. `v0.4.0`)
* title and release description including notable changes
* link to the [milestone](https://github.com/sbt/sbt-java-formatter/milestones) showing an overview of closed issues for this release
* overview of contributors generated by [`sbt-authors`](https://github.com/2m/authors)
1. Travis CI will start a [CI build](https://travis-ci.org/sbt/sbt-java-formatter/builds) for the new tag and publish artifacts to Sonatype
1. Close/Release the staging repository on oss.sonatype.org.
1. Close the milestone for this release and create a new one
## Step 0: Create a new release tracking

1. Click ["new issue"][issues/new];
2. Opening the raw [RELEASING.md][] content; and
3. Copying the following release checklist, up to "You are done!", into the new issue and create it.

## Release checklist

* [ ] Check [closed issues without a milestone][issues/orphan] and either assign them the upcoming release milestone or 'invalid'
* [ ] Create a [new release][releases/new] with:
* [ ] the next tag version (e.g. `v0.4.0`)
* [ ] title and release description including notable changes
* [ ] link to the [milestone][milestones/list] showing an overview of closed issues for this release
* [ ] overview of contributors generated by [`sbt-authors`](https://github.com/2m/authors)
* [ ] Pull the tag, check `show version` then run `clean; publishSigned`. You should start seeing "published sbt-java-formatter to https://oss.sonatype.org/service/local/staging/deploy/maven2/..".
* [ ] [Find, close and release][sonatype/staging-repos] your staging repository. (See Sonatype's [Releasing the Deployment][sonatype/guide] guide.)
* [ ] [Close][milestones/list] the milestone for this release and create a new one.

[issues/new]: https://github.com/sbt/sbt-java-formatter/issues/new
[issues/orphan]: https://github.com/sbt/sbt-java-formatter/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20no%3Amilestone
[compare/view]: https://github.com/sbt/sbt-java-formatter/compare/0.8.1...master
[milestones/list]: https://github.com/sbt/sbt-java-formatter/milestones?direction=asc
[releases/list]: https://github.com/sbt/sbt-java-formatter/releases
[releases/new]: https://github.com/sbt/sbt-java-formatter/releases/new

[RELEASING.md]: https://raw.githubusercontent.com/sbt/sbt-java-formatter/master/RELEASING.md
[sonatype/guide]: https://central.sonatype.org/pages/releasing-the-deployment.html
[sonatype/staging-repos]: https://oss.sonatype.org/#stagingRepositories

## Prerequisites

Expand Down

0 comments on commit d312b98

Please sign in to comment.