Skip to content

Commit

Permalink
Merge pull request #2 from sebadob/update-justfile
Browse files Browse the repository at this point in the history
update release recipe
  • Loading branch information
sebadob committed Dec 19, 2023
2 parents 893ff5b + ecd1f50 commit 505835c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set shell := ["bash", "-uc"]

TAG := `cat Cargo.toml | grep '^version =' | cut -d " " -f3 | xargs`
export TAG := `cat Cargo.toml | grep '^version =' | cut -d " " -f3 | xargs`
WASM_TARGET := '--target wasm32-unknown-unknown'


Expand Down Expand Up @@ -125,8 +125,8 @@ release: verfiy-is-clean
# make sure git is clean
git diff --quiet || exit 1

git tag v{{TAG}}
git push origin v{{TAG}}
git tag "v$TAG"
git push origin "v$TAG"


# publishes the current version to cargo.io
Expand Down

0 comments on commit 505835c

Please sign in to comment.