Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.2.3] - 2026-06-25

### Fixed

- Fixed the crates.io release preflight to check exact crate versions via the
crates.io API instead of `cargo info`, which could treat an existing crate as
an existing version.

## [0.2.2] - 2026-06-25

### Fixed
Expand Down Expand Up @@ -78,7 +86,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Self-documenting OKF bundle at `docs/okf/`, linted under the strict profile in
CI (dogfood).

[Unreleased]: https://github.com/ryansann/okftool/compare/v0.2.2...HEAD
[Unreleased]: https://github.com/ryansann/okftool/compare/v0.2.3...HEAD
[0.2.3]: https://github.com/ryansann/okftool/compare/v0.2.2...v0.2.3
[0.2.2]: https://github.com/ryansann/okftool/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/ryansann/okftool/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/ryansann/okftool/compare/v0.1.5...v0.2.0
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/okftool-core", "crates/okftool-cli", "crates/okftool-wasm"]

[workspace.package]
version = "0.2.2"
version = "0.2.3"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/ryansann/okftool"
Expand Down
2 changes: 1 addition & 1 deletion crates/okftool-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name = "okftool"
path = "src/main.rs"

[dependencies]
okftool-core = { path = "../okftool-core", version = "0.2.2" }
okftool-core = { path = "../okftool-core", version = "0.2.3" }
serde_json = { workspace = true }
clap = { version = "4", features = ["derive"] }
tar = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion crates/okftool-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ publish = false
crate-type = ["cdylib", "rlib"]

[dependencies]
okftool-core = { path = "../okftool-core", version = "0.2.2" }
okftool-core = { path = "../okftool-core", version = "0.2.3" }
serde = { workspace = true }
serde_json = { workspace = true }
wasm-bindgen = "0.2"
Expand Down
8 changes: 7 additions & 1 deletion scripts/publish-crates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ fi

crate_published() {
local crate="$1"
cargo info "${crate}@${version}" --quiet >/dev/null 2>&1
curl --fail --silent --show-error \
--retry 3 \
--retry-delay 2 \
--header "Accept: application/json" \
--header "User-Agent: okftool-release-script" \
"https://crates.io/api/v1/crates/${crate}/${version}" \
>/dev/null 2>/dev/null
}

publish_or_skip() {
Expand Down
Loading