Skip to content

ci(release): publish rules zip with version-qualified filename#627

Merged
timenick merged 1 commit into
mainfrom
zhiwang/versioned-rules-zip-asset
May 15, 2026
Merged

ci(release): publish rules zip with version-qualified filename#627
timenick merged 1 commit into
mainfrom
zhiwang/versioned-rules-zip-asset

Conversation

@timenick
Copy link
Copy Markdown
Collaborator

Summary

  • Release pipeline now publishes the analyzer rules archive as rules-v<version>.zip (matching the wheel's version-qualified naming) instead of rules.zip. Version is parsed from the staged wheel filename inside the Prepare job's stage step.
  • Updated the runtime_check_rules README to use <tag> / <version> placeholders in the gh release download and extract commands, and to call out that all current releases are pre-releases (so an explicit tag is required — gh release download without --tag skips pre-releases).

No prior release has published rules.zip as an asset (v0.0.1 and v0.0.2 did not include it), so there is no backward-compatibility concern with the rename.

Rename the GitHub release asset from `rules.zip` to `rules-v<version>.zip`
so the filename is self-describing when downloaded standalone and
different release versions do not collide in user download folders,
matching the wheel naming which already carries the version.

Pipeline: extract the version from the wheel filename inside the Prepare
job's stage step and rename the staged rules archive accordingly; update
the GitHubRelease asset list to publish the versioned name.

Docs: update the runtime_check_rules README to use `<tag>` / `<version>`
placeholders in the `gh release download` and extract commands, and to
call out that current releases are pre-releases (so an explicit tag is
required).

No prior release has published `rules.zip` as an asset, so there is no
backward compatibility concern.
@timenick timenick requested a review from a team as a code owner May 15, 2026 01:16
@timenick timenick enabled auto-merge (squash) May 15, 2026 01:22
@timenick timenick merged commit d16b91d into main May 15, 2026
9 checks passed
@timenick timenick deleted the zhiwang/versioned-rules-zip-asset branch May 15, 2026 01:23
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