chore: justfile publish revert to dev branch when complete
All checks were successful
Rust / build (push) Successful in 1m19s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful

This commit is contained in:
Paul Campbell 2024-07-29 10:33:03 +01:00
parent dd0a1ca41f
commit 03ae9153b4

View file

@ -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