Skip to content

fix: move latest tags only for the highest stable release (4.0) - #480

Closed
amazing-cat wants to merge 1 commit into
release/4.0from
fix/latest-tags-highest-release-4.0
Closed

amazing-cat wants to merge 1 commit into
release/4.0from
fix/latest-tags-highest-release-4.0

Conversation

@amazing-cat

Copy link
Copy Markdown
Contributor

Backport of #479 to the 4.0 line, as the release workflow of this line is the one that runs for v4.0.x tags.

Changes

  • Adds scripts/release-tags.sh and its test tests/ci/release-tags.sh (same logic as on main) and a release-check.yml workflow that runs the test for changes to these files.
  • release.yml gets a release-metadata job. The application image is tagged with the validated version (X.Y.Z) instead of github.ref_name, so it is published without the v prefix; latest is added only for the highest stable version.
  • runtime-latest and builder-latest are updated only for the highest stable version.
  • The inline "Prepare release metadata" step is dropped in favor of the job output.

Verification

  • bash tests/ci/release-tags.sh passes.
  • The workflow was not run in GitHub Actions. Because release tags trigger the workflow from the tagged commit, the change takes effect from the next v4.0.x tag.

🤖 Generated with Claude Code

… without v prefix

Backport of the release tag classification to the 4.0 line: version and image
tags come from scripts/release-tags.sh, so the application image is published
as X.Y.Z (no v prefix) and latest, runtime-latest and builder-latest move only
for the highest stable release.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cattr-cla

cattr-cla Bot commented Nov 2, 2026

Copy link
Copy Markdown

Contributor License Agreement

✅ Every human contributor has accepted Cattr CLA version 1.

CLA SHA-256: 68cb254dc87c899f320d5a8977e7e380fd8f6cf6f9388e51d07d936f3a8ce38b

@vermorag vermorag closed this Nov 3, 2026
@vermorag
vermorag deleted the fix/latest-tags-highest-release-4.0 branch November 3, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Release of an older version line moves latest tags and publishes the image with a v prefix

2 participants