diff --git a/.github/workflows/master.yml.disabled b/.github/workflows/master.yml.disabled deleted file mode 100644 index 00226b2a3..000000000 --- a/.github/workflows/master.yml.disabled +++ /dev/null @@ -1,23 +0,0 @@ -name: Master - -on: - push: - branches: - - master - -jobs: - build: - runs-on: [self-hosted, linux] - env: - SCCACHE_CACHE_SIZE: "50G" - steps: - - uses: actions/checkout@v3 - - name: Install toolchain - uses: dtolnay/rust-toolchain@nightly - - name: Install cargo-unleash - run: cargo install cargo-unleash --git https://github.com/xlc/cargo-unleash.git # https://github.com/paritytech/cargo-unleash/pull/38 - - name: Prepare - run: make Cargo.toml - - name: Cargo unleash check - run: cargo unleash check - diff --git a/.github/workflows/publish_packages.yml b/.github/workflows/publish_packages.yml index 5d4a21142..49257eea9 100644 --- a/.github/workflows/publish_packages.yml +++ b/.github/workflows/publish_packages.yml @@ -9,7 +9,7 @@ jobs: name: Publish Package runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: toolchain: stable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..6cf2667a8 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: Open a release PR +on: + workflow_dispatch: + inputs: + version: + description: Version to release + required: true + type: string + +jobs: + make-release-pr: + permissions: + id-token: write # Enable OIDC + pull-requests: write + contents: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: taiki-e/install-action@v2 + with: + tool: cargo-release + - uses: chainguard-dev/actions/setup-gitsign@main + - uses: cargo-bins/release-pr@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + version: ${{ inputs.version }} + crate-release-all: true diff --git a/asset-registry/Cargo.toml b/asset-registry/Cargo.toml index daff15be2..2a76deb23 100644 --- a/asset-registry/Cargo.toml +++ b/asset-registry/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-asset-registry" description = "Registry for (foreign) assets" repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/asset-registry" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Interlay Ltd, etc"] edition = "2021" @@ -27,7 +27,7 @@ xcm-builder = { workspace = true } xcm-executor = { workspace = true } # orml -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } # for runtime-benchmarks polkadot-runtime-common = { workspace = true, optional = true } diff --git a/auction/Cargo.toml b/auction/Cargo.toml index 52da5ff85..6083af919 100644 --- a/auction/Cargo.toml +++ b/auction/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-auction" description = "Auction module that implements `Auction` trait." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/auction" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" @@ -17,7 +17,7 @@ frame-system = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } [dev-dependencies] sp-core = { workspace = true, features = ["std"] } diff --git a/authority/Cargo.toml b/authority/Cargo.toml index 9973a1cf0..97283620f 100644 --- a/authority/Cargo.toml +++ b/authority/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-authority" description = "Utility pallet to perform ROOT calls in a PoA network" repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/auction" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" diff --git a/benchmarking/Cargo.toml b/benchmarking/Cargo.toml index ae9348e32..4177516dc 100644 --- a/benchmarking/Cargo.toml +++ b/benchmarking/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-benchmarking" description = "Provide macro to benchmark Substrate runtime." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/benchmarking" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" diff --git a/build-script-utils/Cargo.toml b/build-script-utils/Cargo.toml index 647013d55..43d5047a2 100644 --- a/build-script-utils/Cargo.toml +++ b/build-script-utils/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-build-script-utils" description = "Crate with utility functions for `build.rs` scripts." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/build-script-utils" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Parity Technologies ", "Laminar Developers "] edition = "2021" diff --git a/currencies/Cargo.toml b/currencies/Cargo.toml index 7935d0dfd..83cf8f001 100644 --- a/currencies/Cargo.toml +++ b/currencies/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-currencies" description = "Provide `MultiCurrency` implementation using `pallet-balances` and `orml-tokens` module." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/currencies" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" @@ -18,8 +18,8 @@ sp-io = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } -orml-utilities = { path = "../utilities", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } +orml-utilities = { path = "../utilities", version = "0.6.7", default-features = false } [dev-dependencies] pallet-balances = { workspace = true, features = ["std"] } diff --git a/gradually-update/Cargo.toml b/gradually-update/Cargo.toml index 036bda03f..8f3f70e1c 100644 --- a/gradually-update/Cargo.toml +++ b/gradually-update/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-gradually-update" description = "Provides way to adjust numeric parameter gradually over a period of time." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/gradually-update" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" diff --git a/nft/Cargo.toml b/nft/Cargo.toml index acdb3b8be..82c6a20a5 100644 --- a/nft/Cargo.toml +++ b/nft/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-nft" description = "Non-fungible token pallet provides basic functions to create and manager NFT" repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/nft" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" diff --git a/oracle/Cargo.toml b/oracle/Cargo.toml index e556559b5..f70d191c9 100644 --- a/oracle/Cargo.toml +++ b/oracle/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-oracle" description = "Oracle module that makes off-chain data available on-chain." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/oracle" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" @@ -19,8 +19,8 @@ sp-io = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } -orml-utilities = { path = "../utilities", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } +orml-utilities = { path = "../utilities", version = "0.6.7", default-features = false } [dev-dependencies] sp-core = { workspace = true } diff --git a/oracle/runtime-api/Cargo.toml b/oracle/runtime-api/Cargo.toml index 41e7a8caf..4de1cb6d5 100644 --- a/oracle/runtime-api/Cargo.toml +++ b/oracle/runtime-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "orml-oracle-runtime-api" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" license = "Apache-2.0" diff --git a/parameters/Cargo.toml b/parameters/Cargo.toml index f47812250..a4c7fcdcc 100644 --- a/parameters/Cargo.toml +++ b/parameters/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-parameters" description = "Offer a centra place to store and configure parameters." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/parameters" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" @@ -18,7 +18,7 @@ sp-runtime = { workspace = true } sp-core = { workspace = true } sp-std = { workspace = true } -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } [dev-dependencies] sp-core = { workspace = true, features = ["std"] } diff --git a/payments/Cargo.toml b/payments/Cargo.toml index b8b372d1f..57380f69d 100644 --- a/payments/Cargo.toml +++ b/payments/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Virto Network "] edition = '2021' name = "orml-payments" -version = "0.6.1" +version = "0.6.7" license = "Apache-2.0" homepage = "https://github.com/virto-network/virto-node" repository = "https://github.com/virto-network/virto-node" @@ -19,7 +19,7 @@ frame-system = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } -orml-traits = {path = "../traits", version = "0.6.1", default-features = false } +orml-traits = {path = "../traits", version = "0.6.7", default-features = false } [dev-dependencies] serde = "1.0.136" diff --git a/rewards/Cargo.toml b/rewards/Cargo.toml index d2c4a4d92..840a05f49 100644 --- a/rewards/Cargo.toml +++ b/rewards/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-rewards" description = "Store and manage shares and rewards" repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/rewards" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" @@ -19,7 +19,7 @@ sp-io = { workspace = true } sp-runtime = { workspace = true, features = ["serde"] } sp-std = { workspace = true } -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } [dev-dependencies] sp-core = { workspace = true, features = ["std"] } diff --git a/tokens/Cargo.toml b/tokens/Cargo.toml index 9243b2a41..c6b79fc3f 100644 --- a/tokens/Cargo.toml +++ b/tokens/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-tokens" description = "Fungible tokens module that implements `MultiCurrency` trait." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/tokens" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" @@ -19,7 +19,7 @@ sp-arithmetic = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } [dev-dependencies] pallet-elections-phragmen = { workspace = true, features = ["std"] } diff --git a/tokens/runtime-api/Cargo.toml b/tokens/runtime-api/Cargo.toml index 08db52c2f..949a6dd3b 100644 --- a/tokens/runtime-api/Cargo.toml +++ b/tokens/runtime-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "orml-tokens-runtime-api" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" license = "Apache-2.0" diff --git a/traits/Cargo.toml b/traits/Cargo.toml index e98aeda85..2960efcf8 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-traits" description = "Shared traits including `BasicCurrency`, `MultiCurrency`, `Auction` and more." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/traits" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" @@ -23,7 +23,7 @@ frame-support = { workspace = true } xcm = { workspace = true } -orml-utilities = { path = "../utilities", version = "0.6.1", default-features = false } +orml-utilities = { path = "../utilities", version = "0.6.7", default-features = false } [features] default = [ "std" ] diff --git a/unknown-tokens/Cargo.toml b/unknown-tokens/Cargo.toml index ce0ec65c1..98b89cd27 100644 --- a/unknown-tokens/Cargo.toml +++ b/unknown-tokens/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-unknown-tokens" description = "Unknown tokens module that implements `UnknownAsset` trait." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/unknown-tokens" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" @@ -18,7 +18,7 @@ sp-std = { workspace = true } xcm = { workspace = true } -orml-xcm-support = { path = "../xcm-support", version = "0.6.1", default-features = false } +orml-xcm-support = { path = "../xcm-support", version = "0.6.7", default-features = false } [dev-dependencies] sp-core = { workspace = true, features = ["std"] } diff --git a/utilities/Cargo.toml b/utilities/Cargo.toml index 04a018d32..02f303a2e 100644 --- a/utilities/Cargo.toml +++ b/utilities/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-utilities" description = "Various utilities including `FixedU128` and `LinkedList`." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/utilities" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" diff --git a/vesting/Cargo.toml b/vesting/Cargo.toml index 7dcafb04f..20d8ec478 100644 --- a/vesting/Cargo.toml +++ b/vesting/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-vesting" description = "Provides scheduled balance locking mechanism, in a *graded vesting* way." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/vesting" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Laminar Developers "] edition = "2021" diff --git a/xcm-support/Cargo.toml b/xcm-support/Cargo.toml index 3251149f1..38c78b5e4 100644 --- a/xcm-support/Cargo.toml +++ b/xcm-support/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-xcm-support" description = "Supporting module for XCM integration." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/xcm-support" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" @@ -17,7 +17,7 @@ sp-std = { workspace = true } xcm = { workspace = true } xcm-executor = { workspace = true } -orml-traits = { path = "../traits", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false } [features] default = [ "std" ] diff --git a/xcm/Cargo.toml b/xcm/Cargo.toml index f7db2af60..a22afe25e 100644 --- a/xcm/Cargo.toml +++ b/xcm/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-xcm" description = "XCM message helpers." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/xcm" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" diff --git a/xtokens/Cargo.toml b/xtokens/Cargo.toml index 30b767e77..d96bdae05 100644 --- a/xtokens/Cargo.toml +++ b/xtokens/Cargo.toml @@ -3,7 +3,7 @@ name = "orml-xtokens" description = "Cross-chain token transfer." repository = "https://github.com/open-web3-stack/open-runtime-module-library/tree/master/xtokens" license = "Apache-2.0" -version = "0.6.1" +version = "0.6.7" authors = ["Acala Developers"] edition = "2021" @@ -29,8 +29,8 @@ xcm = { workspace = true } xcm-executor = { workspace = true } # orml -orml-traits = { path = "../traits", version = "0.6.1", default-features = false} -orml-xcm-support = { path = "../xcm-support", version = "0.6.1", default-features = false } +orml-traits = { path = "../traits", version = "0.6.7", default-features = false} +orml-xcm-support = { path = "../xcm-support", version = "0.6.7", default-features = false } [dev-dependencies] # substrate