Skip to content

Commit

Permalink
🚀 Release v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rust-marker-ci committed Dec 28, 2023
1 parent b04037d commit 29b128b
Show file tree
Hide file tree
Showing 16 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ The following is a small collection of ways you can test Marker right now:

<!-- region replace marker version stable -->
```sh
cargo marker --lints "marker_lints = '0.4.3'"
cargo marker --lints "marker_lints = '0.5.0'"
```
<!-- endregion replace marker version stable -->

Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-marker/marker"

# region replace marker version dev
version = "0.5.0-dev"
version = "0.5.0"
# endregion replace marker version dev

# The MSRV is applied to the public library crates published to crates.io
rust-version = "1.70"

[workspace.dependencies]
# region replace marker version dev
marker_adapter = { path = "./marker_adapter", version = "0.5.0-dev" }
marker_api = { path = "./marker_api", version = "0.5.0-dev" }
marker_error = { path = "./marker_error", version = "0.5.0-dev" }
marker_adapter = { path = "./marker_adapter", version = "0.5.0" }
marker_api = { path = "./marker_api", version = "0.5.0" }
marker_error = { path = "./marker_error", version = "0.5.0" }
marker_uitest = { path = "./marker_uitest", features = ["dev-build"] }
marker_utils = { path = "./marker_utils", version = "0.5.0-dev" }
marker_utils = { path = "./marker_utils", version = "0.5.0" }
# endregion replace marker version dev

bumpalo = "3.14"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Select one of the installation scripts below according to your platform. The scr

**Linux or MacOS (Bash)**:
```bash
curl -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.4/scripts/release/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.5/scripts/release/install.sh | bash
```

**Windows (PowerShell)**:
```ps1
curl.exe -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.4/scripts/release/install.ps1 | powershell -command -
curl.exe -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.5/scripts/release/install.ps1 | powershell -command -
```

The provided scripts use a sliding git tag `v0.4`, to allow for automatic patch version updates, however a fixed tag `v0.4.3` is also available.
The provided scripts use a sliding git tag `v0.5`, to allow for automatic patch version updates, however a fixed tag `v0.5.0` is also available.

<!-- endregion replace marker version stable -->

Expand All @@ -81,13 +81,13 @@ Marker provides a Github Action that downloads the pre-compiled binaries and run
<!-- region replace marker version stable -->

```yml
- uses: rust-marker/marker@v0.4
- uses: rust-marker/marker@v0.5
```
If you want to only install Marker, and not run it, there is an option for that.
```yml
- uses: rust-marker/marker@v0.4
- uses: rust-marker/marker@v0.5
with:
install-only: true

Expand All @@ -111,7 +111,7 @@ marker_lints = { path = './marker_lints' }
# An external crate via git
marker_lints = { git = "https://github.com/rust-marker/marker" }
# An external crate from a registry
marker_lints = "0.4.3"
marker_lints = "0.5.0"
```
<!-- endregion replace marker version stable -->

Expand Down
4 changes: 2 additions & 2 deletions cargo-marker/src/backend/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pub(crate) fn default_driver_info() -> DriverVersionInfo {
toolchain: "nightly-2023-11-16".to_string(),
// endregion replace rust toolchain dev
// region replace marker version dev
version: "0.5.0-dev".to_string(),
api_version: "0.5.0-dev".to_string(),
version: "0.5.0".to_string(),
api_version: "0.5.0".to_string(),
// endregion replace marker version dev
}
}
Expand Down
4 changes: 2 additions & 2 deletions cargo-marker/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ marker_lints = { path = './marker_lints' }
# An external crate via git
marker_lints = { git = "https://github.com/rust-marker/marker" }
# An external crate from a registry
marker_lints = "0.4.3""#
marker_lints = "0.5.0""#
),
cli_example = display::cli(r#"cargo marker --lints "marker_lints = '0.4.3'""#),
cli_example = display::cli(r#"cargo marker --lints "marker_lints = '0.5.0'""#),
lints = "--lints".blue(),
)
}
Expand Down
14 changes: 7 additions & 7 deletions docs/book/src/usage/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ Marker provides a GitHub Action that downloads the pre-compiled binaries and run
<!-- region replace marker version stable -->

```yml
- uses: rust-marker/marker@v0.4
- uses: rust-marker/marker@v0.5
```
### Git tags
The git tag specified in the GitHub Action indicates which version of Marker should be installed. There are several tag flavors available:
- **Sliding tags, like `v0.4` *(recommended)*:**
- **Sliding tags, like `v0.5` *(recommended)*:**

Use this to get automatic patch updates.

- **Fixed tags, like `v0.4.3`:**
- **Fixed tags, like `v0.5.0`:**

Use this to pin a specific patch version. If you find a regression in a patch version, please create a [new issue]. Patch versions must never break anything!

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: rust-marker/marker@v0.4
- uses: rust-marker/marker@v0.5
```
<!-- endregion replace marker action version stable -->

Expand All @@ -87,7 +87,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: rust-marker/marker@v0.4
- uses: rust-marker/marker@v0.5
with:
install-only: true
- run: cargo marker -- -p crate-foo -p crate-bar
Expand Down Expand Up @@ -126,7 +126,7 @@ curl \
--show-error \
--retry 5 \
--retry-all-errors \
https://raw.githubusercontent.com/rust-marker/marker/v0.4/scripts/release/install.sh \
https://raw.githubusercontent.com/rust-marker/marker/v0.5/scripts/release/install.sh \
| bash
```

Expand All @@ -139,7 +139,7 @@ curl.exe `
--show-error `
--retry 5 `
--retry-all-errors `
https://raw.githubusercontent.com/rust-marker/marker/v0.4/scripts/release/install.ps1 `
https://raw.githubusercontent.com/rust-marker/marker/v0.5/scripts/release/install.ps1 `
| powershell -command -
```

Expand Down
6 changes: 3 additions & 3 deletions docs/book/src/usage/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ Select one of the installation scripts below according to your platform. The scr

**Linux or MacOS (Bash)**:
```bash
curl -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.4/scripts/release/install.sh | bash
curl -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.5/scripts/release/install.sh | bash
```

**Windows (PowerShell)**:
```ps1
curl.exe -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.4/scripts/release/install.ps1 | powershell -command -
curl.exe -fsSL https://raw.githubusercontent.com/rust-marker/marker/v0.5/scripts/release/install.ps1 | powershell -command -
```

The provided scripts use a sliding git tag `v0.4`, to allow for automatic patch version updates, however a fixed tag `v0.4.3` is also available.
The provided scripts use a sliding git tag `v0.5`, to allow for automatic patch version updates, however a fixed tag `v0.5.0` is also available.

<!-- endregion replace marker version stable -->

Expand Down
4 changes: 2 additions & 2 deletions docs/book/src/usage/lint-crate-declaration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The main way to declare lint crates, is to add them to the `Cargo.toml` file und
```toml
[workspace.metadata.marker.lints]
# An external crate from a registry
marker_lints = "0.4.3"
marker_lints = "0.5.0"

# An external crate from git
marker_lints = { git = "https://github.com/rust-marker/marker" }
Expand All @@ -31,7 +31,7 @@ A lint crate can be specified with the `--lints` option. The string is expected
<!-- region replace marker version stable -->
```sh
# An external crate from a registry
cargo marker --lints "marker_lints = '0.4.3'"
cargo marker --lints "marker_lints = '0.5.0'"

# An external crate from git
cargo marker --lints "marker_lints = { git = 'https://github.com/rust-marker/marker' }"
Expand Down
2 changes: 1 addition & 1 deletion docs/internal/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GitHub is very generous with the releases storage limits. They are [almost unlim
The `sha256` sum is a small file that users may optionally download together with the archive itself to verify the integrity of the archive. It serves as a signature of the artifact to make sure it was downloaded as expected bit-by-bit with what was published effectively detecting corruptions during the download and making it harder to forge artifacts for malicious actors.

<!-- region replace marker version stable -->
This [`install.sh`](https://raw.githubusercontent.com/rust-marker/marker/v0.4.3/scripts/release/install.sh) script, can be used to automatically download and verify Marker's binaries.
This [`install.sh`](https://raw.githubusercontent.com/rust-marker/marker/v0.5.0/scripts/release/install.sh) script, can be used to automatically download and verify Marker's binaries.
<!-- endregion replace marker version stable -->

### Operating system versions coverage
Expand Down
4 changes: 2 additions & 2 deletions marker_api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ To get started, create a new Rust crate that compiles to a library (`cargo init
crate-type = ["cdylib"]

[dependencies]
marker_api = "0.4.3"
marker_utils = "0.4.3"
marker_api = "0.5.0"
marker_utils = "0.5.0"
```
<!-- endregion replace marker version stable -->

Expand Down
2 changes: 1 addition & 1 deletion marker_lints/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To use `marker_lints` in your project, simply add it to your `Cargo.toml` under
<!-- region replace marker version stable -->
```toml
[workspace.metadata.marker.lints]
marker_lints = "0.4.3"
marker_lints = "0.5.0"
```
<!-- endregion replace marker version stable -->

Expand Down
2 changes: 1 addition & 1 deletion marker_uitest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ First add `marker_utils` to the dev-dependencies of the lint crate, and specify
<!-- region replace marker version stable -->
```toml
[dev-dependencies]
marker_uitest = "0.4.3"
marker_uitest = "0.5.0"

[[test]]
name = "uitest"
Expand Down
4 changes: 2 additions & 2 deletions marker_utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ To get started, just include *marker_utils* as a dependency:
<!-- region replace marker version stable -->
```toml
[dependencies]
marker_api = "0.4.3"
marker_api = "0.5.0"
```

You can also add [marker_lints] as a lint crate, designed for this crate:

```toml
[workspace.metadata.marker.lints]
marker_lints = "0.4.3"
marker_lints = "0.5.0"
```
<!-- endregion replace marker version stable -->

Expand Down
2 changes: 1 addition & 1 deletion scripts/release/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Using config env vars (override these if needed):
# This script isn't meant to be run from `master`, but if it is, then
# it will install the latest version be it a stable version or a pre-release.
# region replace marker version unstable
$version = "0.4.3"
$version = "0.5.0"
# endregion replace marker version unstable

# region replace rust toolchain release
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "Bash version: $BASH_VERSION" >&2
# This script isn't meant to be run from `master`, but if it is, then
# it will install the latest version be it a stable version or a pre-release.
# region replace marker version unstable
version=0.4.3
version=0.5.0
# endregion replace marker version unstable

# region replace rust toolchain release
Expand Down

0 comments on commit 29b128b

Please sign in to comment.