From 95129ddeefa26db7cb538f2be2ab5b3609e9a175 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 16 Jul 2024 08:38:31 +0100 Subject: [PATCH] chore: restore clean check and tag checkout to publish script --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index de3ebfd..ca84c0e 100644 --- a/justfile +++ b/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}