diff --git a/justfile b/justfile index 29e1182..de1327f 100644 --- a/justfile +++ b/justfile @@ -48,7 +48,7 @@ publish version: else echo "Worktree is Dirty - aborting" ; exit fi - git co v{{version}} + git checkout v{{version}} ORDER=$(cargo publish-workspace --target-version {{version}} --crate-prefix git-next --show-order 2>/dev/null | cut -d\ -f2-) echo "Publishing crates in order: ${ORDER}" # INFO: Why not use publish-workspace to publish? It doesn't support when crates-io registry is replaced @@ -60,3 +60,4 @@ publish version: echo "======================================" done echo "All crates published" + git checkout dev