Skip to content

Commit

Permalink
Use version + replace rather then release
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed Dec 19, 2023
1 parent 32e6bb0 commit 9a0421f
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 38 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
60 changes: 30 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/dojo-core/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1

[[package]]
name = "dojo"
version = "0.4.1"
version = "0.4.2"
dependencies = [
"dojo_plugin",
]
Expand Down
2 changes: 1 addition & 1 deletion crates/dojo-core/Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion examples/spawn-and-move/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1

[[package]]
name = "dojo"
version = "0.4.1"
version = "0.4.2"
dependencies = [
"dojo_plugin",
]
Expand Down
2 changes: 1 addition & 1 deletion examples/spawn-and-move/Scarb.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 9a0421f

Please sign in to comment.