From 03ae9153b44cbc7978ede1e0398746a2a78c0fa2 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 Jul 2024 10:33:03 +0100 Subject: [PATCH] chore: justfile publish revert to dev branch when complete --- justfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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