Browse Source

fix tr-based search/replace with improved sed-based search-replace

old one removed all of the characters in version, wherever they were in the line,
so v0.28.0-rc.1 ended up v0.28.0-c.1
master
Jonathan Strong 2 years ago
parent
commit
5aa81d5504
  1. 2
      justfile

2
justfile

@ -45,7 +45,7 @@ verify-clean-git:
test "$(echo `git status --porcelain` | wc -c)" -eq "1"
get-crate-version:
@cat Cargo.toml | rg '^version =' | tr -d "version = " | tr -d '"'
@cat Cargo.toml | rg '^version =' | sed -e 's/^version\s*=\s*//' | tr -d '"'
# re-generate README.md and overwrite existing file with output
update-readme:

Loading…
Cancel
Save