From 9a0421fde06ef348a88de29418bebd30bb13cc3f Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Mon, 18 Dec 2023 17:43:13 -0500 Subject: [PATCH] Use version + replace rather then release --- .github/workflows/release-dispatch.yml | 6 +-- Cargo.lock | 60 +++++++++++++------------- Cargo.toml | 2 +- crates/dojo-core/Scarb.lock | 2 +- crates/dojo-core/Scarb.toml | 2 +- examples/spawn-and-move/Scarb.lock | 2 +- examples/spawn-and-move/Scarb.toml | 2 +- 7 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/release-dispatch.yml b/.github/workflows/release-dispatch.yml index 6f06d3c61c..bcaef6e148 100644 --- a/.github/workflows/release-dispatch.yml +++ b/.github/workflows/release-dispatch.yml @@ -17,10 +17,10 @@ jobs: image: ghcr.io/dojoengine/dojo-dev:f6a4b8a steps: # Workaround described here: https://github.com/actions/checkout/issues/760 - - run: git config --global --add safe.directory /__w/dojo/dojo/ - uses: actions/checkout@v3 - - run: cargo release ${{ inputs.version }} --no-publish --no-verify --execute - - uses: peter-evans/create-pull-request@v3 + - run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - run: cargo release version ${{ inputs.version }} --execute --no-confirm && cargo release replace --execute --no-confirm + - uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }} title: "Prepare release: ${{ inputs.version }}" diff --git a/Cargo.lock b/Cargo.lock index c0d2ef86ef..2a8b652c6c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -801,7 +801,7 @@ dependencies = [ [[package]] name = "benches" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "clap_builder", @@ -2623,15 +2623,15 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dojo-core" -version = "0.4.1" +version = "0.4.2" [[package]] name = "dojo-examples-spawn-and-move" -version = "0.4.1" +version = "0.4.2" [[package]] name = "dojo-lang" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -2679,7 +2679,7 @@ dependencies = [ [[package]] name = "dojo-language-server" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "cairo-lang-compiler", @@ -2701,7 +2701,7 @@ dependencies = [ [[package]] name = "dojo-signers" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "starknet", @@ -2709,7 +2709,7 @@ dependencies = [ [[package]] name = "dojo-test-utils" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "assert_fs", @@ -2740,7 +2740,7 @@ dependencies = [ [[package]] name = "dojo-types" -version = "0.4.1" +version = "0.4.2" dependencies = [ "crypto-bigint", "hex", @@ -2755,7 +2755,7 @@ dependencies = [ [[package]] name = "dojo-world" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "assert_fs", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "katana" -version = "0.4.1" +version = "0.4.2" dependencies = [ "assert_matches", "clap", @@ -5401,7 +5401,7 @@ dependencies = [ "console", "katana-core", "katana-rpc", - "metrics 0.4.1", + "metrics 0.4.2", "metrics-process", "serde_json", "starknet_api", @@ -5413,7 +5413,7 @@ dependencies = [ [[package]] name = "katana-codecs" -version = "0.4.1" +version = "0.4.2" dependencies = [ "bytes", "katana-primitives", @@ -5421,7 +5421,7 @@ dependencies = [ [[package]] name = "katana-codecs-derive" -version = "0.4.1" +version = "0.4.2" dependencies = [ "proc-macro2", "quote", @@ -5431,7 +5431,7 @@ dependencies = [ [[package]] name = "katana-core" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "assert_matches", @@ -5464,7 +5464,7 @@ dependencies = [ [[package]] name = "katana-db" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "bincode 1.3.3", @@ -5487,7 +5487,7 @@ dependencies = [ [[package]] name = "katana-executor" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "blockifier", @@ -5503,7 +5503,7 @@ dependencies = [ [[package]] name = "katana-primitives" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "blockifier", @@ -5521,7 +5521,7 @@ dependencies = [ [[package]] name = "katana-provider" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "auto_impl", @@ -5541,7 +5541,7 @@ dependencies = [ [[package]] name = "katana-rpc" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "assert_matches", @@ -5573,7 +5573,7 @@ dependencies = [ [[package]] name = "katana-rpc-types" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "derive_more", @@ -5586,7 +5586,7 @@ dependencies = [ [[package]] name = "katana-rpc-types-builder" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "katana-executor", @@ -5598,7 +5598,7 @@ dependencies = [ [[package]] name = "katana-runner" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "home", @@ -5889,7 +5889,7 @@ dependencies = [ [[package]] name = "metrics" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "hyper", @@ -8558,7 +8558,7 @@ dependencies = [ [[package]] name = "sozo" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "assert_fs", @@ -9752,7 +9752,7 @@ dependencies = [ [[package]] name = "torii-client" -version = "0.4.1" +version = "0.4.2" dependencies = [ "async-trait", "camino", @@ -9778,7 +9778,7 @@ dependencies = [ [[package]] name = "torii-core" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "async-trait", @@ -9814,7 +9814,7 @@ dependencies = [ [[package]] name = "torii-graphql" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "async-graphql", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "torii-grpc" -version = "0.4.1" +version = "0.4.2" dependencies = [ "bytes", "crypto-bigint", @@ -9891,7 +9891,7 @@ dependencies = [ [[package]] name = "torii-server" -version = "0.4.1" +version = "0.4.2" dependencies = [ "anyhow", "async-trait", @@ -9910,7 +9910,7 @@ dependencies = [ "hyper-reverse-proxy", "indexmap 1.9.3", "lazy_static", - "metrics 0.4.1", + "metrics 0.4.2", "metrics-process", "scarb", "serde", diff --git a/Cargo.toml b/Cargo.toml index e3789f8627..bedca48a7d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ edition = "2021" license = "Apache-2.0" license-file = "LICENSE" repository = "https://github.com/dojoengine/dojo/" -version = "0.4.1" +version = "0.4.2" [profile.performance] codegen-units = 1 diff --git a/crates/dojo-core/Scarb.lock b/crates/dojo-core/Scarb.lock index ee17c212ea..14d33d1dbb 100644 --- a/crates/dojo-core/Scarb.lock +++ b/crates/dojo-core/Scarb.lock @@ -3,7 +3,7 @@ version = 1 [[package]] name = "dojo" -version = "0.4.1" +version = "0.4.2" dependencies = [ "dojo_plugin", ] diff --git a/crates/dojo-core/Scarb.toml b/crates/dojo-core/Scarb.toml index a8809ef181..ef1080e43a 100644 --- a/crates/dojo-core/Scarb.toml +++ b/crates/dojo-core/Scarb.toml @@ -2,7 +2,7 @@ cairo-version = "2.4.0" description = "The Dojo Core library for autonomous worlds." name = "dojo" -version = "0.4.1" +version = "0.4.2" [dependencies] dojo_plugin = { git = "https://github.com/dojoengine/dojo", tag = "v0.3.11" } diff --git a/examples/spawn-and-move/Scarb.lock b/examples/spawn-and-move/Scarb.lock index 9474cc125c..36fbad6d54 100644 --- a/examples/spawn-and-move/Scarb.lock +++ b/examples/spawn-and-move/Scarb.lock @@ -3,7 +3,7 @@ version = 1 [[package]] name = "dojo" -version = "0.4.1" +version = "0.4.2" dependencies = [ "dojo_plugin", ] diff --git a/examples/spawn-and-move/Scarb.toml b/examples/spawn-and-move/Scarb.toml index ec78dec2d8..2383af1a8e 100644 --- a/examples/spawn-and-move/Scarb.toml +++ b/examples/spawn-and-move/Scarb.toml @@ -1,7 +1,7 @@ [package] cairo-version = "2.4.0" name = "dojo_examples" -version = "0.4.0-rc0" +version = "0.4.2" # Use the prelude with the less imports as possible # from corelib. edition = "2023_10"