Skip to content

Commit

Permalink
Bug 1814896 - [geckodriver] Release version 0.32.2. r=webdriver-revie…
Browse files Browse the repository at this point in the history
…wers,jgraham

Depends on D168984

Differential Revision: https://phabricator.services.mozilla.com/D168985
  • Loading branch information
whimboo committed Feb 7, 2023
1 parent 990a28e commit 055fd1e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions testing/geckodriver/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

All notable changes to this program are documented in this file.

## 0.32.2 (2023-02-07)

### Fixed

- With the release of geckodriver 0.32.1 the marionette crate was inappropriately
bumped to a semver incompatible version and caused `cargo install geckodriver`
to fail for older releases.

## 0.32.1 (2023-02-02, `b7f075124503`)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion testing/geckodriver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2018"
name = "geckodriver"
version = "0.32.1"
version = "0.32.2"
authors = ["Mozilla"]
include = [
"/.cargo",
Expand Down
18 changes: 13 additions & 5 deletions testing/geckodriver/doc/Releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,31 @@ you can skip them:

For each crate:

1. Bump the version number in `Cargo.toml` based on [semantic versioning rules],
1. Change into the crates folder.
2. Bump the version number in `Cargo.toml` based on [semantic versioning rules],
and also update the version dependency for other in-tree crates using the
currently modified crate. Note that running `cargo update` (see next step)
will fail if you missed updating a crate's dependency.
2. Update the crate: `cargo update -p <crate name>`
3. We also publish audit information for the crates based on Mozilla's
will fail if you missed updating a crate's dependency. Also use the
[cargo-semver-checks] command to validate the version change:

```shell
% cargo semver-checks check-release
```

3. Update the crate: `cargo update -p <crate name>`
4. We also publish audit information for the crates based on Mozilla's
[audit criteria], and that must be updated for each release. To do that run:
```shell
% ./mach cargo vet certify <name> <version> --force
```
4. Commit the changes for the modified [Cargo.toml] files, [Cargo.lock] and the
5. Commit the changes for the modified [Cargo.toml] files, [Cargo.lock] and the
[supply-chain/] folder, which can be found in the repositories root folder.
Use a commit message like `Bug XYZ - [rust-<name>] Release version <version>`.
[semantic versioning rules]: https://semver.org/
[cargo-semver-checks]: https://crates.io/crates/cargo-semver-checks
[audit criteria]: https://mozilla.github.io/cargo-vet/audit-criteria.html
[Cargo.toml]: https://searchfox.org/mozilla-central/source/testing/geckodriver/Cargo.toml
[Cargo.lock]: https://searchfox.org/mozilla-central/source/Cargo.lock
Expand Down
5 changes: 5 additions & 0 deletions testing/geckodriver/doc/Support.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ and required versions of Selenium and Firefox:
<th>max
</tr>
</thead>
<tr>
<td>0.32.2
<td>≥ 3.11 (3.14 Python)
<td>102 ESR
<td>n/a
<tr>
<td>0.32.1
<td>≥ 3.11 (3.14 Python)
Expand Down

0 comments on commit 055fd1e

Please sign in to comment.