Skip to content

chore: move maintainer-run release scripts to scripts/ - #2422

Merged
thiras merged 1 commit into
mainfrom
chore/move-release-scripts
Oct 12, 2026
Merged

thiras merged 1 commit into
mainfrom
chore/move-release-scripts

Conversation

@thiras

@thiras thiras commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Moves sign-release.sh and publish-crates.sh from .github/scripts/ to a root scripts/ folder, matching devops. No workflow or hook runs either one. After this, .github/scripts/ holds only what CI and hooks run.
  • The regression tests move to scripts/tests/. The scripts CI filter and ci-tooling-tests now cover both folders.
  • publish-crates.sh now runs sponsord's bump from scripts/open-decdn-bump.sh.
  • Updates the check-image-name.sh paths, RELEASING.md and workflow comments, and adds a CHANGELOG entry.

Merge after decdn/sponsord#67. If this merges first, a release's sponsord bump only warns and asks you to open the PR by hand.

Test plan

  • pytest .github/scripts/tests scripts/tests: 188 passed
  • .github/scripts/check-image-name.sh passes
  • scripts/sign-release.sh vX / scripts/publish-crates.sh vX stop at the tag check
  • pre-commit hooks pass

🤖 Generated with Claude Code

sign-release.sh and publish-crates.sh run only from a maintainer's checkout,
never from a workflow or hook, so they leave .github/scripts/ for a root
scripts/ directory, as in devops. Their regression tests move to
scripts/tests/, which CI tooling tests now also run.

publish-crates.sh runs sponsord's bump from scripts/open-decdn-bump.sh, which
matches sponsord's own move; merge that first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@thiras
thiras requested a balanced review from Copilot October 12, 2026 00:18
@github-actions

Copy link
Copy Markdown

Gas snapshot

No gas changes vs base.

@github-code-quality

github-code-quality Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Code Coverage Overview

Languages: Rust, Solidity

Rust / code-coverage/cargo-llvm-cov

The overall line coverage in commit 9dc4df8 in the chore/move-release-s... branch remains at 75%, unchanged from commit 1c41dd6 in the main branch.

Show a line coverage summary of the most impacted files.
File main 1c41dd6 chore/move-release-s... 9dc4df8 +/-
crates/node/src...nt/serve_leg.rs 93% 91% -2%

Solidity / code-coverage/forge

The overall line coverage in commit 9dc4df8 in the chore/move-release-s... branch remains at 92%, unchanged from commit 1c41dd6 in the main branch.


Updated October 12, 2026 00:28 UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Script references are consistently updated, executable permissions remain intact, and regression-test coverage follows the moved files.

0 open findings

What changed in this PR

Moves maintainer-run release tooling into scripts/, separating it from CI-only helpers.

Changes:

  • Relocates release scripts and regression tests.
  • Updates paths across documentation and checks.
  • Extends CI filtering and pytest coverage to scripts/.
File Description
scripts/​sign-release.sh Updates usage path.
scripts/​publish-crates.sh Updates paths, including sponsord bump script.
scripts/​tests/​test_sign_release_key_selection.py Targets relocated signing script.
scripts/​tests/​test_publish_crates_env.py Targets relocated publishing script.
RELEASING.md Documents new commands and downstream paths.
release.toml Updates publishing-script reference.
CHANGELOG.md Records the relocation.
.github/​workflows/​release.yml Updates release workflow commentary.
.github/​workflows/​ci.yml Covers both script directories in CI.
.github/​scripts/​check-image-name.sh Checks the relocated signing script.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@thiras
thiras merged commit ce565fe into main Oct 12, 2026
31 checks passed
@thiras
thiras deleted the chore/move-release-scripts branch October 12, 2026 00:28
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.

2 participants