Skip to content

Commit

Permalink
Release v0.49.1 (#1026)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Farhad-Shabani authored Jan 4, 2024
1 parent 08aeb02 commit f4ea799
Show file tree
Hide file tree
Showing 21 changed files with 117 additions and 106 deletions.
File renamed without changes.
14 changes: 5 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Install cargo-release
run: cargo install cargo-release
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Publish crates (dry run)
run: cargo release --workspace --no-push --no-tag --no-publish --exclude ibc-derive
env:
Expand All @@ -43,14 +43,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Install cargo-release
run: cargo install cargo-release
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2
- name: Publish crates
run: cargo release --workspace --no-push --no-tag --exclude ibc-derive --execute
run: cargo release --workspace --no-push --no-tag --exclude ibc-derive --allow-branch HEAD --execute
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

Expand All @@ -62,8 +60,6 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.ref }}
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
60 changes: 39 additions & 21 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,22 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

check-features:
name: Check features
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
- name: Run cargo hack
run: cargo hack check --workspace --feature-powerset --exclude-features default

nightly_fmt:
runs-on: ubuntu-latest
steps:
Expand All @@ -60,62 +76,64 @@ jobs:
with:
command: fmt
args: --all -- --check
doc_all_features:

clippy_all_features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/cargo@v1
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
with:
command: doc
args: --all-features --release
doc_no_default_features:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets

clippy_no_default_features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: actions-rs/cargo@v1
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
with:
command: doc
args: --no-default-features --release
token: ${{ secrets.GITHUB_TOKEN }}
args: --no-default-features --lib

clippy_all_features:
doc_all_features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
- uses: actions-rs/cargo@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets

clippy_no_default_features:
command: doc
args: --all-features --release
doc_no_default_features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/clippy-check@v1
- uses: actions-rs/cargo@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --no-default-features --lib
command: doc
args: --no-default-features --release

test-stable:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## v0.49.0
## v0.49.1

*January 3, 2024*

Expand Down
50 changes: 25 additions & 25 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exclude = [
]

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

# ibc dependencies
ibc = { version = "0.49.0", path = "./ibc", default-features = false }
ibc-core = { version = "0.49.0", path = "./ibc-core", default-features = false }
ibc-clients = { version = "0.49.0", path = "./ibc-clients", default-features = false }
ibc-apps = { version = "0.49.0", path = "./ibc-apps", default-features = false }
ibc-primitives = { version = "0.49.0", path = "./ibc-primitives", default-features = false }
ibc = { version = "0.49.1", path = "./ibc", default-features = false }
ibc-core = { version = "0.49.1", path = "./ibc-core", default-features = false }
ibc-clients = { version = "0.49.1", path = "./ibc-clients", default-features = false }
ibc-apps = { version = "0.49.1", path = "./ibc-apps", default-features = false }
ibc-primitives = { version = "0.49.1", path = "./ibc-primitives", default-features = false }
ibc-derive = { version = "0.5.0", path = "./ibc-derive" }

ibc-core-client = { version = "0.49.0", path = "./ibc-core/ics02-client", default-features = false }
ibc-core-connection = { version = "0.49.0", path = "./ibc-core/ics03-connection", default-features = false }
ibc-core-channel = { version = "0.49.0", path = "./ibc-core/ics04-channel", default-features = false }
ibc-core-host = { version = "0.49.0", path = "./ibc-core/ics24-host", default-features = false }
ibc-core-handler = { version = "0.49.0", path = "./ibc-core/ics25-handler", default-features = false }
ibc-core-router = { version = "0.49.0", path = "./ibc-core/ics26-routing", default-features = false }
ibc-client-tendermint = { version = "0.49.0", path = "./ibc-clients/ics07-tendermint", default-features = false }
ibc-app-transfer = { version = "0.49.0", path = "./ibc-apps/ics20-transfer", default-features = false }
ibc-core-client = { version = "0.49.1", path = "./ibc-core/ics02-client", default-features = false }
ibc-core-connection = { version = "0.49.1", path = "./ibc-core/ics03-connection", default-features = false }
ibc-core-channel = { version = "0.49.1", path = "./ibc-core/ics04-channel", default-features = false }
ibc-core-host = { version = "0.49.1", path = "./ibc-core/ics24-host", default-features = false }
ibc-core-handler = { version = "0.49.1", path = "./ibc-core/ics25-handler", default-features = false }
ibc-core-router = { version = "0.49.1", path = "./ibc-core/ics26-routing", default-features = false }
ibc-client-tendermint = { version = "0.49.1", path = "./ibc-clients/ics07-tendermint", default-features = false }
ibc-app-transfer = { version = "0.49.1", path = "./ibc-apps/ics20-transfer", default-features = false }

ibc-core-client-context = { version = "0.49.0", path = "./ibc-core/ics02-client/context", default-features = false }
ibc-core-client-types = { version = "0.49.0", path = "./ibc-core/ics02-client/types", default-features = false }
ibc-core-channel-types = { version = "0.49.0", path = "./ibc-core/ics04-channel/types", default-features = false }
ibc-core-connection-types = { version = "0.49.0", path = "./ibc-core/ics03-connection/types", default-features = false }
ibc-core-commitment-types = { version = "0.49.0", path = "./ibc-core/ics23-commitment/types", default-features = false }
ibc-core-host-cosmos = { version = "0.49.0", path = "./ibc-core/ics24-host/cosmos", default-features = false }
ibc-core-host-types = { version = "0.49.0", path = "./ibc-core/ics24-host/types", default-features = false }
ibc-core-handler-types = { version = "0.49.0", path = "./ibc-core/ics25-handler/types", default-features = false }
ibc-core-router-types = { version = "0.49.0", path = "./ibc-core/ics26-routing/types", default-features = false }
ibc-client-tendermint-types = { version = "0.49.0", path = "./ibc-clients/ics07-tendermint/types", default-features = false }
ibc-app-transfer-types = { version = "0.49.0", path = "./ibc-apps/ics20-transfer/types", default-features = false }
ibc-core-client-context = { version = "0.49.1", path = "./ibc-core/ics02-client/context", default-features = false }
ibc-core-client-types = { version = "0.49.1", path = "./ibc-core/ics02-client/types", default-features = false }
ibc-core-channel-types = { version = "0.49.1", path = "./ibc-core/ics04-channel/types", default-features = false }
ibc-core-connection-types = { version = "0.49.1", path = "./ibc-core/ics03-connection/types", default-features = false }
ibc-core-commitment-types = { version = "0.49.1", path = "./ibc-core/ics23-commitment/types", default-features = false }
ibc-core-host-cosmos = { version = "0.49.1", path = "./ibc-core/ics24-host/cosmos", default-features = false }
ibc-core-host-types = { version = "0.49.1", path = "./ibc-core/ics24-host/types", default-features = false }
ibc-core-handler-types = { version = "0.49.1", path = "./ibc-core/ics25-handler/types", default-features = false }
ibc-core-router-types = { version = "0.49.1", path = "./ibc-core/ics26-routing/types", default-features = false }
ibc-client-tendermint-types = { version = "0.49.1", path = "./ibc-clients/ics07-tendermint/types", default-features = false }
ibc-app-transfer-types = { version = "0.49.1", path = "./ibc-apps/ics20-transfer/types", default-features = false }

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

Expand Down
Loading

0 comments on commit f4ea799

Please sign in to comment.