Skip to content

build: add hack/bump-version.sh and normalize versions to v1.5.0 - #40

Merged
spraveenio merged 2 commits into
ROCm:mainfrom
bhatnitish:feature/bump-version-script-rocm
Jul 16, 2026
Merged

build: add hack/bump-version.sh and normalize versions to v1.5.0#40
spraveenio merged 2 commits into
ROCm:mainfrom
bhatnitish:feature/bump-version-script-rocm

Conversation

@bhatnitish

@bhatnitish bhatnitish commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add hack/bump-version.sh — a script to rewrite all version-bearing strings across the repo on release-branch creation. Single version arg (v1.5.0 or 1.5.0, leading v optional), idempotent anchored sed replacements, fail-fast file check. No git operations.
  • Run with 1.5.0 to normalize main's drifted versions to the current release.

Details

Normalizes: Chart.yaml v1.4.1v1.5.0, Makefile PROJECT_VERSION "1.4.0""1.5.0" + helm-install tarball, conf.py "main""1.5.0", docs/index.md + kubernetes-helm.md v1.3.0v1.5.0, example v1.4.1v1.5.0.

Left alone: docker/Dockerfile labels (version="latest") and helm-charts/values.yaml (tag: latest, build-time overwritten).

Test plan

  • Malformed / no arg → exit 1, no files touched
  • bump-version.sh 1.5.0 → 6 files bumped correctly
  • Re-run → zero further diff (idempotent)
  • Release-notes insert skipped when ## v1.5.0 already present

bhatnitish and others added 2 commits July 16, 2026 20:51
Add hack/bump-version.sh for the Prepare Branch CI tool to rewrite all
version-bearing strings on release-branch creation. Single version arg
(v optional), idempotent anchored sed replacements, no git operations.

Run it with 1.5.0 to normalize main's drifted versions (Chart.yaml v1.4.1,
PROJECT_VERSION "1.4.0", conf.py "main", docs at v1.3.0/v1.4.1) to the
current release across Chart.yaml, Makefile, docs, and example.

ROCm variant: covers the file set present in this repo (no .job.yml or
README_AINIC.md, which are pensando-only).

@spraveenio spraveenio left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lgtm

@spraveenio
spraveenio merged commit 6cb3106 into ROCm:main Jul 16, 2026
1 check passed
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