Skip to content

Commit 08aeb02

Browse files
fix: typo in Cargo.toml + switch to tag branch for publishing crates (#1024)
* Fix typo in cargo.toml * CI: use ref to checkout to tag branch for publish * CI: use ref for gh-release as well --------- Co-authored-by: Farhad Shabani <[email protected]>
1 parent e340d1e commit 08aeb02

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
steps:
4444
- name: Checkout code
4545
uses: actions/checkout@v4
46+
with:
47+
ref: ${{ github.event.ref }}
4648
- name: Cache cargo dependencies
4749
uses: Swatinem/rust-cache@v2
4850
- name: Install cargo-release
@@ -60,6 +62,8 @@ jobs:
6062
contents: write
6163
steps:
6264
- uses: actions/checkout@v4
65+
with:
66+
ref: ${{ github.event.ref }}
6367
- uses: taiki-e/create-gh-release-action@v1
6468
with:
6569
token: ${{ secrets.GITHUB_TOKEN }}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rstest = "0.18.2"
5454
schemars = { version = "0.8.15" }
5555
sha2 = { version = "0.10.8", default-features = false }
5656
serde = { version = "1.0", default-features = false }
57-
serde_json = { package = "serde-json-wasm", version = "1.0.0" , default-features = false }
57+
serde_json = { package = "serde-json-wasm", version = "1.0.0", default-features = false }
5858
subtle-encoding = { version = "0.5", default-features = false }
5959

6060
# ibc dependencies

0 commit comments

Comments
 (0)