Skip to content

Commit

Permalink
Prepare 0.18.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Dec 7, 2022
1 parent a585e5a commit 0b40444
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
|| 'no' }}

test-book:
name: test (Book)
name: test (Book, ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -210,8 +210,8 @@ jobs:
# Releasing #
#############

release-crate:
name: release (crates.io)
publish:
name: publish (crates.io)
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
needs: ["release-github"]
runs-on: ubuntu-latest
Expand All @@ -221,16 +221,16 @@ jobs:
with:
toolchain: stable

- name: Publish `cucumber-codegen` crate
run: cargo publish -p cucumber-codegen
--token ${{ secrets.CRATESIO_TOKEN }}
- run: cargo publish -p cucumber-codegen
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATESIO_TOKEN }}

- name: Wait crates.io index is updated
run: sleep 120

- name: Publish `cucumber` crate
run: cargo publish -p cucumber
--token ${{ secrets.CRATESIO_TOKEN }}
- run: cargo publish -p cucumber
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATESIO_TOKEN }}

release-github:
name: release (GitHub)
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All user visible changes to `cucumber` crate will be documented in this file. Th



## [0.18.0] · 2022-??-??
## [0.18.0] · 2022-12-07
[0.18.0]: /../../tree/v0.18.0

[Diff](/../../compare/v0.17.0...v0.18.0) | [Milestone](/../../milestone/21)
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cucumber"
version = "0.17.0"
version = "0.18.0"
edition = "2021"
rust-version = "1.65"
description = """\
Expand Down Expand Up @@ -58,7 +58,7 @@ sealed = "0.4"

# "macros" feature dependencies.
anyhow = { version = "1.0.58", optional = true }
cucumber-codegen = { version = "0.17", path = "./codegen", optional = true }
cucumber-codegen = { version = "0.18", path = "./codegen", optional = true }
cucumber-expressions = { version = "0.2.1", features = ["into-regex"], optional = true }
inventory = { version = "0.3", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion book/src/output/intellij.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IntelliJ Rust integration

Example below is set up to output with the default [`writer::Basic`] if there is no `--format=json` option, or with [`writer::Libtest`] otherwise.
```toml
cucumber = { version = "0.17", features = ["libtest"] }
cucumber = { version = "0.18", features = ["libtest"] }
```
```rust
# extern crate cucumber;
Expand Down
2 changes: 1 addition & 1 deletion book/src/output/json.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Cucumber JSON format

This requires `output-json` feature to be enabled in `Cargo.toml`:
```toml
cucumber = { version = "0.17", features = ["output-json"] }
cucumber = { version = "0.18", features = ["output-json"] }
```

And configuring output to [`writer::Json`]:
Expand Down
2 changes: 1 addition & 1 deletion book/src/output/junit.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ JUnit XML report

This requires `output-junit` feature to be enabled in `Cargo.toml`:
```toml
cucumber = { version = "0.17", features = ["output-junit"] }
cucumber = { version = "0.18", features = ["output-junit"] }
```

And configuring output to [`writer::JUnit`]:
Expand Down
4 changes: 2 additions & 2 deletions book/src/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To start, let's create a directory called `tests/` in the root of the project an
Add this to `Cargo.toml`:
```toml
[dev-dependencies]
cucumber = "0.17"
cucumber = "0.18"
futures = "0.3"

[[test]]
Expand Down Expand Up @@ -385,7 +385,7 @@ A contrived example, but it demonstrates that [step]s can be reused as long as t
Let's switch our runtime to `tokio`:
```toml
[dev-dependencies]
cucumber = "0.17"
cucumber = "0.18"
tokio = { version = "1.10", features = ["macros", "rt-multi-thread", "time"] }

[[test]]
Expand Down
12 changes: 12 additions & 0 deletions codegen/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ All user visible changes to `cucumber-codegen` crate will be documented in this



## [0.18.0] · 2022-12-07
[0.18.0]: /../../tree/v0.18.0/codegen

[Milestone](/../../milestone/21)

### Version bump only

See `cucumber` crate [changelog](https://github.com/cucumber-rs/cucumber/blob/v0.18.0/CHANGELOG.md).




## [0.17.0] · 2022-11-23
[0.17.0]: /../../tree/v0.17.0/codegen

Expand Down
2 changes: 1 addition & 1 deletion codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cucumber-codegen"
version = "0.17.0" # should be the same as main crate version
version = "0.18.0" # should be the same as main crate version
edition = "2021"
rust-version = "1.65"
description = "Code generation for `cucumber` crate."
Expand Down

0 comments on commit 0b40444

Please sign in to comment.