Skip to content

Commit

Permalink
Add prepare release script (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Oct 26, 2023
1 parent 7b5fb2f commit 931cb92
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 29 deletions.
58 changes: 29 additions & 29 deletions Cargo.lock

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

8 changes: 8 additions & 0 deletions scripts/prepare_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -euxo pipefail

prev_version=$(cargo get workspace.package.version)
next_version=$1

find . -type f -name "*.toml" -exec sed -i "" "s/version = \"$prev_version\"/version = \"$next_version\"/g" {} \;
find . -type f -name "*.toml" -exec sed -i "" "s/dojo_plugin = \"$prev_version\"/dojo_plugin = \"$next_version\"/g" {} \;

0 comments on commit 931cb92

Please sign in to comment.