chore: restore clean check and tag checkout to publish script
This commit is contained in:
parent
33907a1d32
commit
95129ddeef
1 changed files with 2 additions and 2 deletions
4
justfile
4
justfile
|
@ -42,9 +42,9 @@ grcov-coverage:
|
|||
|
||||
publish version:
|
||||
#!/usr/bin/bash -e
|
||||
# [[ -z $(git status --short) ]] || echo "Worktree is Dirty - aborting" ; exit
|
||||
[[ -z $(git status --short) ]] || echo "Worktree is Dirty - aborting" ; exit
|
||||
echo "Clean"
|
||||
# git co v{{version}}
|
||||
git co v{{version}}
|
||||
ORDER=$(cargo publish-workspace --target-version {{version}} --crate-prefix git-next --show-order 2>/dev/null | cut -d\ -f2-)
|
||||
# INFO: Why not use publish-workspace to publish? It doesn't support when crates-io registry is replaced
|
||||
for P in ${ORDER}
|
||||
|
|
Loading…
Reference in a new issue