From f3f8e8353c7dab4811ce711f46a613685823eabd Mon Sep 17 00:00:00 2001 From: thedavidmeister Date: Wed, 13 May 2026 17:03:21 +0400 Subject: [PATCH] fix(ci): pass --no-publish to cargo release bump step The bump step in package-release.yaml runs cargo release without --no-publish, which makes it try to publish to crates.io. CARGO_REGISTRY_TOKEN is only set on the separate Publish to crates.io step further down, so the bump step fails with no token found, please run cargo login. Add --no-publish so the bump step only bumps the version + commits. The dedicated Publish step does the upload with the token set. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/package-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-release.yaml b/.github/workflows/package-release.yaml index db42e4c..89b1e58 100644 --- a/.github/workflows/package-release.yaml +++ b/.github/workflows/package-release.yaml @@ -70,7 +70,7 @@ jobs: - name: Bump Cargo version if: ${{ steps.cargo.outputs.changed == 'true' }} run: | - nix develop -c cargo release --no-confirm --execute --no-tag --no-push -p rain-math-float alpha + nix develop -c cargo release --no-confirm --execute --no-tag --no-push --no-publish -p rain-math-float alpha echo "CARGO_VERSION=v$(cargo pkgid -p rain-math-float | cut -d@ -f2)" >> $GITHUB_ENV # NPM second — npm version edits files but doesn't commit. - name: Bump NPM version