Skip to content

Commit 325d380

Browse files
Release v0.49.1 (#1026)
* CI: add check-features * fix: allow publish from HEAD * chore: bump version to v0.49.1 * fix: set --allow-branch to HEAD for publish job
1 parent 440ee10 commit 325d380

21 files changed

+117
-106
lines changed
File renamed without changes.

.github/workflows/release.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
steps:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
30-
- name: Cache cargo dependencies
31-
uses: Swatinem/rust-cache@v2
3230
- name: Install cargo-release
3331
run: cargo install cargo-release
32+
- name: Cache cargo dependencies
33+
uses: Swatinem/rust-cache@v2
3434
- name: Publish crates (dry run)
3535
run: cargo release --workspace --no-push --no-tag --no-publish --exclude ibc-derive
3636
env:
@@ -43,14 +43,12 @@ jobs:
4343
steps:
4444
- name: Checkout code
4545
uses: actions/checkout@v4
46-
with:
47-
ref: ${{ github.event.ref }}
48-
- name: Cache cargo dependencies
49-
uses: Swatinem/rust-cache@v2
5046
- name: Install cargo-release
5147
run: cargo install cargo-release
48+
- name: Cache cargo dependencies
49+
uses: Swatinem/rust-cache@v2
5250
- name: Publish crates
53-
run: cargo release --workspace --no-push --no-tag --exclude ibc-derive --execute
51+
run: cargo release --workspace --no-push --no-tag --exclude ibc-derive --allow-branch HEAD --execute
5452
env:
5553
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
5654

@@ -62,8 +60,6 @@ jobs:
6260
contents: write
6361
steps:
6462
- uses: actions/checkout@v4
65-
with:
66-
ref: ${{ github.event.ref }}
6763
- uses: taiki-e/create-gh-release-action@v1
6864
with:
6965
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rust.yml

Lines changed: 39 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,22 @@ jobs:
4747
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4848
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"
4949

50+
check-features:
51+
name: Check features
52+
runs-on: ubuntu-latest
53+
timeout-minutes: 60
54+
steps:
55+
- uses: actions/checkout@v4
56+
- uses: actions-rs/toolchain@v1
57+
with:
58+
toolchain: stable
59+
override: true
60+
- name: Install cargo-hack
61+
uses: taiki-e/install-action@cargo-hack
62+
- uses: Swatinem/rust-cache@v2
63+
- name: Run cargo hack
64+
run: cargo hack check --workspace --feature-powerset --exclude-features default
65+
5066
nightly_fmt:
5167
runs-on: ubuntu-latest
5268
steps:
@@ -60,62 +76,64 @@ jobs:
6076
with:
6177
command: fmt
6278
args: --all -- --check
63-
64-
doc_all_features:
79+
80+
clippy_all_features:
6581
runs-on: ubuntu-latest
6682
steps:
6783
- uses: actions/checkout@v2
6884
- uses: actions-rs/toolchain@v1
6985
with:
7086
toolchain: stable
87+
components: clippy
7188
override: true
72-
- uses: actions-rs/cargo@v1
89+
- uses: Swatinem/rust-cache@v1
90+
- uses: actions-rs/clippy-check@v1
7391
with:
74-
command: doc
75-
args: --all-features --release
76-
77-
doc_no_default_features:
92+
token: ${{ secrets.GITHUB_TOKEN }}
93+
args: --all-features --all-targets
94+
95+
clippy_no_default_features:
7896
runs-on: ubuntu-latest
7997
steps:
8098
- uses: actions/checkout@v2
8199
- uses: actions-rs/toolchain@v1
82100
with:
83101
toolchain: stable
102+
components: clippy
84103
override: true
85-
- uses: actions-rs/cargo@v1
104+
- uses: Swatinem/rust-cache@v1
105+
- uses: actions-rs/clippy-check@v1
86106
with:
87-
command: doc
88-
args: --no-default-features --release
107+
token: ${{ secrets.GITHUB_TOKEN }}
108+
args: --no-default-features --lib
89109

90-
clippy_all_features:
110+
doc_all_features:
91111
runs-on: ubuntu-latest
92112
steps:
93113
- uses: actions/checkout@v2
94114
- uses: actions-rs/toolchain@v1
95115
with:
96116
toolchain: stable
97-
components: clippy
98117
override: true
99118
- uses: Swatinem/rust-cache@v1
100-
- uses: actions-rs/clippy-check@v1
119+
- uses: actions-rs/cargo@v1
101120
with:
102-
token: ${{ secrets.GITHUB_TOKEN }}
103-
args: --all-features --all-targets
104-
105-
clippy_no_default_features:
121+
command: doc
122+
args: --all-features --release
123+
124+
doc_no_default_features:
106125
runs-on: ubuntu-latest
107126
steps:
108127
- uses: actions/checkout@v2
109128
- uses: actions-rs/toolchain@v1
110129
with:
111130
toolchain: stable
112-
components: clippy
113131
override: true
114132
- uses: Swatinem/rust-cache@v1
115-
- uses: actions-rs/clippy-check@v1
133+
- uses: actions-rs/cargo@v1
116134
with:
117-
token: ${{ secrets.GITHUB_TOKEN }}
118-
args: --no-default-features --lib
135+
command: doc
136+
args: --no-default-features --release
119137

120138
test-stable:
121139
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## v0.49.0
3+
## v0.49.1
44

55
*January 3, 2024*
66

Cargo.toml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exclude = [
3737
]
3838

3939
[workspace.package]
40-
version = "0.49.0"
40+
version = "0.49.1"
4141
license = "Apache-2.0"
4242
edition = "2021"
4343
rust-version = "1.64"
@@ -58,33 +58,33 @@ serde_json = { package = "serde-json-wasm", version = "1.0.0", default-
5858
subtle-encoding = { version = "0.5", default-features = false }
5959

6060
# ibc dependencies
61-
ibc = { version = "0.49.0", path = "./ibc", default-features = false }
62-
ibc-core = { version = "0.49.0", path = "./ibc-core", default-features = false }
63-
ibc-clients = { version = "0.49.0", path = "./ibc-clients", default-features = false }
64-
ibc-apps = { version = "0.49.0", path = "./ibc-apps", default-features = false }
65-
ibc-primitives = { version = "0.49.0", path = "./ibc-primitives", default-features = false }
61+
ibc = { version = "0.49.1", path = "./ibc", default-features = false }
62+
ibc-core = { version = "0.49.1", path = "./ibc-core", default-features = false }
63+
ibc-clients = { version = "0.49.1", path = "./ibc-clients", default-features = false }
64+
ibc-apps = { version = "0.49.1", path = "./ibc-apps", default-features = false }
65+
ibc-primitives = { version = "0.49.1", path = "./ibc-primitives", default-features = false }
6666
ibc-derive = { version = "0.5.0", path = "./ibc-derive" }
6767

68-
ibc-core-client = { version = "0.49.0", path = "./ibc-core/ics02-client", default-features = false }
69-
ibc-core-connection = { version = "0.49.0", path = "./ibc-core/ics03-connection", default-features = false }
70-
ibc-core-channel = { version = "0.49.0", path = "./ibc-core/ics04-channel", default-features = false }
71-
ibc-core-host = { version = "0.49.0", path = "./ibc-core/ics24-host", default-features = false }
72-
ibc-core-handler = { version = "0.49.0", path = "./ibc-core/ics25-handler", default-features = false }
73-
ibc-core-router = { version = "0.49.0", path = "./ibc-core/ics26-routing", default-features = false }
74-
ibc-client-tendermint = { version = "0.49.0", path = "./ibc-clients/ics07-tendermint", default-features = false }
75-
ibc-app-transfer = { version = "0.49.0", path = "./ibc-apps/ics20-transfer", default-features = false }
68+
ibc-core-client = { version = "0.49.1", path = "./ibc-core/ics02-client", default-features = false }
69+
ibc-core-connection = { version = "0.49.1", path = "./ibc-core/ics03-connection", default-features = false }
70+
ibc-core-channel = { version = "0.49.1", path = "./ibc-core/ics04-channel", default-features = false }
71+
ibc-core-host = { version = "0.49.1", path = "./ibc-core/ics24-host", default-features = false }
72+
ibc-core-handler = { version = "0.49.1", path = "./ibc-core/ics25-handler", default-features = false }
73+
ibc-core-router = { version = "0.49.1", path = "./ibc-core/ics26-routing", default-features = false }
74+
ibc-client-tendermint = { version = "0.49.1", path = "./ibc-clients/ics07-tendermint", default-features = false }
75+
ibc-app-transfer = { version = "0.49.1", path = "./ibc-apps/ics20-transfer", default-features = false }
7676

77-
ibc-core-client-context = { version = "0.49.0", path = "./ibc-core/ics02-client/context", default-features = false }
78-
ibc-core-client-types = { version = "0.49.0", path = "./ibc-core/ics02-client/types", default-features = false }
79-
ibc-core-channel-types = { version = "0.49.0", path = "./ibc-core/ics04-channel/types", default-features = false }
80-
ibc-core-connection-types = { version = "0.49.0", path = "./ibc-core/ics03-connection/types", default-features = false }
81-
ibc-core-commitment-types = { version = "0.49.0", path = "./ibc-core/ics23-commitment/types", default-features = false }
82-
ibc-core-host-cosmos = { version = "0.49.0", path = "./ibc-core/ics24-host/cosmos", default-features = false }
83-
ibc-core-host-types = { version = "0.49.0", path = "./ibc-core/ics24-host/types", default-features = false }
84-
ibc-core-handler-types = { version = "0.49.0", path = "./ibc-core/ics25-handler/types", default-features = false }
85-
ibc-core-router-types = { version = "0.49.0", path = "./ibc-core/ics26-routing/types", default-features = false }
86-
ibc-client-tendermint-types = { version = "0.49.0", path = "./ibc-clients/ics07-tendermint/types", default-features = false }
87-
ibc-app-transfer-types = { version = "0.49.0", path = "./ibc-apps/ics20-transfer/types", default-features = false }
77+
ibc-core-client-context = { version = "0.49.1", path = "./ibc-core/ics02-client/context", default-features = false }
78+
ibc-core-client-types = { version = "0.49.1", path = "./ibc-core/ics02-client/types", default-features = false }
79+
ibc-core-channel-types = { version = "0.49.1", path = "./ibc-core/ics04-channel/types", default-features = false }
80+
ibc-core-connection-types = { version = "0.49.1", path = "./ibc-core/ics03-connection/types", default-features = false }
81+
ibc-core-commitment-types = { version = "0.49.1", path = "./ibc-core/ics23-commitment/types", default-features = false }
82+
ibc-core-host-cosmos = { version = "0.49.1", path = "./ibc-core/ics24-host/cosmos", default-features = false }
83+
ibc-core-host-types = { version = "0.49.1", path = "./ibc-core/ics24-host/types", default-features = false }
84+
ibc-core-handler-types = { version = "0.49.1", path = "./ibc-core/ics25-handler/types", default-features = false }
85+
ibc-core-router-types = { version = "0.49.1", path = "./ibc-core/ics26-routing/types", default-features = false }
86+
ibc-client-tendermint-types = { version = "0.49.1", path = "./ibc-clients/ics07-tendermint/types", default-features = false }
87+
ibc-app-transfer-types = { version = "0.49.1", path = "./ibc-apps/ics20-transfer/types", default-features = false }
8888

8989
ibc-proto = { version = "0.39.1", default-features = false }
9090

0 commit comments

Comments
 (0)