Skip to content

bump-release.py: add --force option for stable patch releases #3268

Open

Description

@dlaw4608

/kind bug

What happened:

While preparing the v1.37.1 patch release from release-1.37, running
hack/bump-release.py reported:

No changes to CPO code or charts detected since v1.37.0. Nothing to release.

The only change since v1.37.0 was the multi-architecture image build fix in
#3254. That fix was needed because the v1.37.0 image publishing job failed, so
a new patch release and image tag were required. The version bump in #3255
therefore had to be prepared manually.

What you expected to happen:

The release script should provide an explicit way to prepare a full patch
release when automatic source/chart change detection finds nothing.

How to reproduce it:

  1. Check out a stable release branch with a change that requires new published
    images but does not modify cmd/, pkg/, or Helm charts.
  2. Run hack/bump-release.py.
  3. Observe that it exits with Nothing to release.

Anything else we need to know?:

Add a --force option for stable branches. When explicitly supplied, it should
bypass the Nothing to release exit and run the normal full patch-release
flow: bump appVersion, bump all chart versions, and update image references.

The existing confirmation prompt should remain, and the script should clearly
state that release detection was bypassed.

Related: #3254, #3255.

Environment:

  • openstack-cloud-controller-manager(or other related binary) version: v1.37.0
  • OpenStack version: N/A
  • Others: release-1.37 branch; hack/bump-release.py

Activity

  1. dlaw4608 commented on Oct 14, 2026

    @dlaw4608
    ContributorAuthor

    I will have a PR open soon to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions