Skip to content

Commit

Permalink
Update release instructions to include creating the GitHub release
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Sep 1, 2021
1 parent d6bb232 commit bc5511c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,45 @@ license, and then accept it by typing "agree".

## Releasing

Begin by tagging the revision you're about to release, and push that tag to GitHub.

Before running a release build, you must ensure that the `--stamp` flag is used by
the build. The easiest way to do this is:

```shell
echo build --stamp >>.bazelrc.local
```

### GitHub Release Page

* Draft a new (perhaps pre-release)
* Make sure this release is for the tag you created earlier
* Set the title to be whatever the release is.
* Use `git log $PREV_RELEASE..$NEW_TAG --format=format:'* [`%h`](https://github.com/seleniumhq/selenium/commit/%H) - %s :: %an' | pbcopy`
to generate the list of changes. Make sure you've set
`$PREV_RELEASE` and `$NEW_TAG`!
* The release notes are:
```
### Changelog
For each component's detailed changelog, please check:
* [Ruby](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
* [Python](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES)
* [JavaScript](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md)
* [Java](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG)
* [DotNet](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG)
* [IEDriverServer](https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG)
### Commits in this release
<details>
<summary>Click to see all the commits included in this release</summary>
INSERT LIST OF CHANGES HERE!
</details>
```
* Now publish the release.

### Java

To release the Java components, make sure you have permission to push to the OSS Sonatype
Expand Down

0 comments on commit bc5511c

Please sign in to comment.