Skip to content

Commit

Permalink
fix: Make sure lock file is updated before release tag
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Oct 22, 2024
1 parent 473fabd commit 04c998a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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 Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ release semver: pristine keys
sed -i -e '/^version/s/".*"/"{{semver}}"/' Cargo.toml
sed -i -e "/^decasify =/s/\".*\"/\"${${:-{{semver}}}%\.*}\"/" README.md
make SEMVER={{semver}} rockspecs CHANGELOG.md decasify-{{semver}}.md -B
cargo build
git add Cargo.{toml,lock} README.md CHANGELOG.md rockspecs/decasify{,.nvim,.sile}-{{semver}}-1.rockspec
git commit -m "chore: Release v{{semver}}"
cargo build
git tag -s v{{semver}} -F decasify-{{semver}}.md
./config.status && make
maturin build --frozen
Expand Down

0 comments on commit 04c998a

Please sign in to comment.