Skip to content

Commit bd08c98

Browse files
authored
Merge pull request #34 from stackql/claude/automate-github-release-lqsF2
fix: use --no-verify on cargo publish to work around build.rs OUT_DIR…
2 parents 7b5d5b2 + d72d778 commit bd08c98

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,9 @@ jobs:
246246
uses: dtolnay/rust-toolchain@stable
247247

248248
- name: Publish to crates.io
249-
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
249+
# --no-verify skips the redundant verification build that cargo publish
250+
# performs by default. That build fails because build.rs writes
251+
# contributors.csv into the package root (outside OUT_DIR) when the file
252+
# is absent — which it always is inside the clean tarball sandbox.
253+
# The binary has already been fully built and tested in the build job.
254+
run: cargo publish --no-verify --token ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)