Skip to content

fix(ci): clear temp snowball tree before crates.io publish - #1

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/publish-clean-temp
Aug 5, 2026
Merged

fix(ci): clear temp snowball tree before crates.io publish#1
Xuanwo merged 1 commit into
mainfrom
xuanwo/publish-clean-temp

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Why

Daily upstream release for 1.20260805.0 synced, tested, tagged, and authenticated with crates.io, then failed at cargo publish with a dirty working tree under .snowball-src (ada/README.md, go/README.md). That left tag v1.20260805.0 on GitHub without a crates.io publish.

What

  • Remove .snowball-src immediately before cargo publish
  • Write cargo semver-checks logs to $RUNNER_TEMP instead of the repo root
  • Ignore semver.out / semver.err and delete the copies accidentally committed on main

Note

This PR does not republish 1.20260805.0. After merge, use workflow_dispatch with force if a same-day re-release is needed; the version step will bump patch when the existing tag is present.

cargo publish failed after a successful sync because nested
.snowball-src left a dirty working tree. Remove it before publish,
write semver-check logs under RUNNER_TEMP, ignore residual log files,
and drop the ones accidentally committed on main.
@Xuanwo
Xuanwo merged commit 7784a11 into main Aug 5, 2026
2 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/publish-clean-temp branch August 5, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant