From 681d85aac1c189396434e9f7ba56b62d6061d17d Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 14 Sep 2024 12:22:00 +0100 Subject: [PATCH] chore: remove manual crates.io publish recipe from justfile --- justfile | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/justfile b/justfile index dde9a24..f1291c3 100644 --- a/justfile +++ b/justfile @@ -47,28 +47,6 @@ grcov-coverage: find . -name '*.profraw' -exec rm "{}" \; echo "Now:\n\topen target/debug/coverage/index.html" -publish version: - #!/usr/bin/bash -e - echo "Publishing git-next v{{version}} to crates.io..." - if [ -z $(git status --short) ]; then - echo "Worktree is clean - proceeding" - else - echo "Worktree is Dirty - aborting" ; exit - fi - 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 - for P in ${ORDER} - do - echo "Publishing ${P}..." - cargo publish --registry crates-io -p $P - echo "Done: ${P}" - echo "======================================" - done - echo "All crates published" - git checkout dev - docker-build-builder: docker build -t git.kemitix.net/kemitix/git-next-builder:2024.08.04 -f Dockerfile.builder .