Skip to content

[docs]: fix mismatch in release tags by documenting stable and dev tags seperately. - #1972

Open
Venkumahanti Subhankar (V-Subhankar-infy) wants to merge 5 commits into
devcontainers:mainfrom
V-Subhankar-infy:fix-base
Open

[docs]: fix mismatch in release tags by documenting stable and dev tags seperately.#1972
Venkumahanti Subhankar (V-Subhankar-infy) wants to merge 5 commits into
devcontainers:mainfrom
V-Subhankar-infy:fix-base

Conversation

@V-Subhankar-infy

Copy link
Copy Markdown
Member

Summary

Separates dev-* preview tags from stable release tags across image READMEs and limits the release-preparation README rewrite to pinned stable tag examples.

Current Issue

The repository has separate development and stable publication flows:

  • Development images are built from main and published as dev-* tags.
  • Stable image tags are published as part of the dedicated versioned release flow.

READMEs previously presented these tags together, making it unclear which image variants are available only as development previews. In addition, prepare-release.sh rewrote every matching semantic version reference in a README, including content outside the release-tag examples.

Changes

  • Added distinct README sections for:
    • release tags;
    • development preview tags (dev-*);
    • pinned release tags.
  • Documented an appropriate dev-* preview tag for each released image.
  • Updated build/prepare-release.sh so it:
    • continues to apply the existing manifest patch bump;
    • updates semantic version examples only inside ### Pinned release tags;
    • stops updating at the next Markdown heading, including both ## and ### headings;
    • fails clearly when the expected pinned-version pattern is missing.
  • Expanded build/test-prepare-release.sh to verify that:
    • only pinned release tags are rewritten;
    • development and general release-tag sections remain unchanged;
    • content after a later heading remains unchanged;
    • standard, variant, and shortened pinned tag formats continue to update correctly.

Release Behavior

This keeps the existing release policy: the release-preparation workflow calculates the final manifest patch version and updates the corresponding pinned tag examples. Stable publication remains a maintainer-owned release responsibility; if an image push fails, the existing re-push workflow should complete the same release rather than leaving it incomplete.

Validation

  • bash build/test-prepare-release.sh
  • Verified all 18 manifest-backed image READMEs contain a dev-* section and a compatible pinned semantic tag.
  • git diff --check

@V-Subhankar-infy

Copy link
Copy Markdown
Member Author

The failing java smoke test is due to a external issue irrelevant to this PR's scope and will be fixed in other PR.
Hence merge this only after merging that PR.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR clarifies the distinction between stable release tags and dev-* preview tags across the image READMEs, and tightens build/prepare-release.sh so it only rewrites semantic-version examples in the ### Pinned release tags section during release preparation.

Changes:

  • Split README tag documentation into stable release tags, development preview tags (dev-*), and pinned release tags.
  • Updated build/prepare-release.sh to rewrite semantic versions only within ### Pinned release tags (and fail when the expected pattern is missing).
  • Expanded build/test-prepare-release.sh to validate the new “rewrite only pinned tags” behavior and heading-boundary behavior.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/universal/README.md Adds explicit “Release tags” and “Development tags” sections to separate stable vs preview guidance.
src/typescript-node/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/rust/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/ruby/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/python/README.md Adds dev-* section and pinned tag section (but heading structure needs a small fix—see comments).
src/php/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/miniconda/README.md Adds dev-* section and pinned tag section (but heading structure needs a small fix—see comments).
src/jekyll/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/javascript-node/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/java/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/java-8/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/go/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/dotnet/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/cpp/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/base-ubuntu/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/base-debian/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/base-alpine/README.md Introduces dev-* documentation and separates pinned tags from general release tags.
src/anaconda/README.md Adds dev-* section and pinned tag section (but heading structure needs a small fix—see comments).
README.md Adds guidance to check dev-* tags before filing stable-tag issues.
build/test-prepare-release.sh Updates tests to assert only pinned-tag examples are rewritten and boundaries are respected.
build/prepare-release.sh Restricts README rewriting to the ### Pinned release tags section and errors when missing.

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

Comment thread src/python/README.md Outdated
Comment thread src/anaconda/README.md Outdated
Comment thread src/miniconda/README.md Outdated

@Rezam7117 Rezam7117 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.

68rezaa68

@Rezam7117 Rezam7117 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.

68rezaa68

@Rezam7117 Rezam7117 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.

68rezaa68

@Rezam7117 Rezam7117 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.

68rezaa68

@Rezam7117

Copy link
Copy Markdown

68rezaa68

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.

# Bug: README stable-tag examples precede MCR publication Node v26 not supported as described in javascript-node and typescript-node

4 participants