From 9d787580d5c9be5a51a9c390480b06f1ef254470 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 18 May 2026 14:26:12 -0400 Subject: [PATCH 1/2] Release 0.4.46 Signed-off-by: Colin Walters --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 9094b171..258f3abd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tar" -version = "0.4.45" +version = "0.4.46" authors = ["Alex Crichton "] homepage = "https://github.com/composefs/tar-rs" repository = "https://github.com/composefs/tar-rs" From 0e7e594c87c1580b324b61d3d857531495964923 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 18 May 2026 14:42:20 -0400 Subject: [PATCH 2/2] ci: Add crates.io trusted publishing workflow Triggers on version tags (both v* and bare 0.x.y styles used historically). Requires configuring trusted publishing on crates.io for this repo. Assisted-by: OpenCode (Claude Sonnet 4.6) Signed-off-by: Colin Walters --- .github/workflows/cratesio-release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/cratesio-release.yml diff --git a/.github/workflows/cratesio-release.yml b/.github/workflows/cratesio-release.yml new file mode 100644 index 00000000..9716ab32 --- /dev/null +++ b/.github/workflows/cratesio-release.yml @@ -0,0 +1,17 @@ +# See https://crates.io/docs/trusted-publishing +name: Publish to crates.io +on: + push: + tags: ['v*', '[0-9]*'] # Triggers on version tags (e.g. v0.4.46 or 0.4.46) +jobs: + publish: + runs-on: ubuntu-24.04 + permissions: + id-token: write # Required for OIDC token exchange + steps: + - uses: actions/checkout@v6 + - uses: rust-lang/crates-io-auth-action@v1 + id: auth + - run: cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}