|
|
@ -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' |
|
|
|