Skip to content

Commit 7e478ff

Browse files
authored
Bump version to 2.1.1 (#225)
* Bump version to 2.1.1 * Add trusted publishing
1 parent 110b036 commit 7e478ff

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Publish to crates.io
2+
on:
3+
push:
4+
tags: ['v*']
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
environment: Publishing
9+
permissions:
10+
id-token: write
11+
steps:
12+
- uses: taiki-e/checkout-action@v1
13+
- uses: rust-lang/crates-io-auth-action@v1
14+
id: auth
15+
- run: cargo publish
16+
env:
17+
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

whoami/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "whoami"
3-
version = "2.1.0"
3+
version = "2.1.1"
44
edition = "2021"
55
license = "Apache-2.0 OR BSL-1.0 OR MIT"
66
documentation = "https://docs.rs/whoami"
@@ -55,7 +55,7 @@ default-features = false
5555

5656
# Target-specific dependency for web browser
5757
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi"), not(daku)))'.dependencies.web-sys]
58-
version = "0.3.77"
58+
version = "0.3.85"
5959
optional = true
6060
features = ["Navigator", "Document", "Window", "Location"]
6161
default-features = false

0 commit comments

Comments
 (0)