Browse Source

tweak command dependencies

master
Jonathan Strong 2 years ago
parent
commit
e7cd43abbd
  1. 6
      justfile

6
justfile

@ -51,15 +51,13 @@ verify-clean-git:
get-crate-version: get-crate-version:
cat Cargo.toml | rg '^version =' | tr -d "version = " | tr -d '"' cat Cargo.toml | rg '^version =' | tr -d "version = " | tr -d '"'
release-prep: release-prep: verify-clean-git pre-release
just verify-clean-git
just pre-release
VERSION=$(just get-crate-version) \ VERSION=$(just get-crate-version) \
&& test -z "$(git tag | rg \"v${VERSION}\")" # Error: tag appears to exist already && test -z "$(git tag | rg \"v${VERSION}\")" # Error: tag appears to exist already
just update-readme just update-readme
# re-generate README.md and commit changes # re-generate README.md and commit changes
update-readme: update-readme: verify-clean-git
just generate-readme just generate-readme
git add README.md doc/*.txt git add README.md doc/*.txt
git commit -m 're-generate docs' git commit -m 're-generate docs'

Loading…
Cancel
Save