Skip to content

feat: add ability to select versioning-strategy and release-as#1121

Merged
ferrarimarco merged 2 commits intogoogleapis:mainfrom
mantasmatij:add-versioning-and-releases-as
Sep 16, 2025
Merged

feat: add ability to select versioning-strategy and release-as#1121
ferrarimarco merged 2 commits intogoogleapis:mainfrom
mantasmatij:add-versioning-and-releases-as

Conversation

@mantasmatij
Copy link
Copy Markdown
Contributor

Summary
This PR adds support for two new inputs to the release-please GitHub Action:

versioning-strategy Allows users to specify the versioning strategy to use for releases (e.g., default, always-bump-minor, etc.).
release-as: Allows users to specify the exact version to release as (e.g., 2.0.0).

Usage Example

- uses: googleapis/release-please-action@v4
  with:
    token: ${{ secrets.GITHUB_TOKEN }}
    release-type: node
    versioning-strategy: always-bump-minor
    release-as: 2.0.0

Motivation
These options provide more flexibility and control over how versions are determined and released, addressing use cases where the default behavior is not sufficient.

@yafanasiev

This comment was marked as off-topic.

Copy link
Copy Markdown
Contributor

@ferrarimarco ferrarimarco left a comment

Choose a reason for hiding this comment

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

Thanks for this PR!

@ferrarimarco ferrarimarco force-pushed the add-versioning-and-releases-as branch from 60ff63c to 9edcc24 Compare September 15, 2025 17:13
@ferrarimarco
Copy link
Copy Markdown
Contributor

@mantasmatij can you please have a look at the CLA check failure?

https://github.com/googleapis/release-please-action/pull/1121/checks?check_run_id=50414902524

thanks a lot

@ferrarimarco
Copy link
Copy Markdown
Contributor

And to the CI failure: https://github.com/googleapis/release-please-action/actions/runs/17741057765/job/50414909880?pr=1121

Thanks!

@ferrarimarco
Copy link
Copy Markdown
Contributor

Fixed the main CI issue. We need to pass a fetch implementation.

@mantasmatij
Copy link
Copy Markdown
Contributor Author

@mantasmatij can you please have a look at the CLA check failure?

https://github.com/googleapis/release-please-action/pull/1121/checks?check_run_id=50414902524

thanks a lot

I've signed the CLA, it should be fine now

Mantas Matijosaitis and others added 2 commits September 16, 2025 10:13
Signed-off-by: Marco Ferrari <ferrarim@google.com>
@ferrarimarco ferrarimarco force-pushed the add-versioning-and-releases-as branch from 3fd68e6 to 2db2173 Compare September 16, 2025 08:13
@ferrarimarco ferrarimarco added this pull request to the merge queue Sep 16, 2025
Merged via the queue into googleapis:main with commit ee0f5ba Sep 16, 2025
5 checks passed
This was referenced Sep 17, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Oct 23, 2025
🤖 I have created a release *beep* *boop*
---


##
[4.4.0](v4.3.0...v4.4.0)
(2025-10-09)


### Features

* add ability to select versioning-strategy and release-as
([#1121](#1121))
([ee0f5ba](ee0f5ba))


### Bug Fixes

* `changelog-host` parameter ignored when using manifest configuration
([#1151](#1151))
([535c413](535c413))
* bump mocha from 11.7.1 to 11.7.2 in the npm_and_yarn group across 1
directory
([#1149](#1149))
([3612a99](3612a99))
* bump release-please from 17.1.2 to 17.1.3
([#1158](#1158))
([66fbfe9](66fbfe9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
DjordyKoert added a commit to nelmio/NelmioApiDocBundle that referenced this pull request Nov 12, 2025
## Description

Should make it possible to atleast automate versioning for older
versions (4.x) 👀


#2591 (comment)

Uses new feature from
googleapis/release-please-action#1121

## What type of PR is this? (check all applicable)
- [ ] Bug Fix
- [ ] Feature
- [ ] Refactor
- [ ] Deprecation
- [ ] Breaking Change
- [ ] Documentation Update
- [x] CI

## Checklist
- [ ] I have made corresponding changes to the documentation (`docs/`)
- [ ] I have made corresponding changes to the changelog
(`CHANGELOG.md`)
DjordyKoert added a commit to DjordyKoert/NelmioApiDocBundle that referenced this pull request Nov 12, 2025
…mio#2593)

## Description

Should make it possible to atleast automate versioning for older
versions (4.x) 👀


nelmio#2591 (comment)

Uses new feature from
googleapis/release-please-action#1121

## What type of PR is this? (check all applicable)
- [ ] Bug Fix
- [ ] Feature
- [ ] Refactor
- [ ] Deprecation
- [ ] Breaking Change
- [ ] Documentation Update
- [x] CI

## Checklist
- [ ] I have made corresponding changes to the documentation (`docs/`)
- [ ] I have made corresponding changes to the changelog
(`CHANGELOG.md`)
DjordyKoert added a commit to nelmio/NelmioApiDocBundle that referenced this pull request Nov 12, 2025
## Description

Should make it possible to atleast automate versioning for older
versions (4.x) 👀


#2591 (comment)

Uses new feature from
googleapis/release-please-action#1121

## What type of PR is this? (check all applicable)
- [ ] Bug Fix
- [ ] Feature
- [ ] Refactor
- [ ] Deprecation
- [ ] Breaking Change
- [ ] Documentation Update
- [x] CI

## Checklist
- [ ] I have made corresponding changes to the documentation (`docs/`)
- [ ] I have made corresponding changes to the changelog
(`CHANGELOG.md`)
software-dev-web added a commit to software-dev-web/please-action that referenced this pull request Dec 11, 2025
🤖 I have created a release *beep* *boop*
---


##
[4.4.0](googleapis/release-please-action@v4.3.0...v4.4.0)
(2025-10-09)


### Features

* add ability to select versioning-strategy and release-as
([#1121](googleapis/release-please-action#1121))
([ee0f5ba](googleapis/release-please-action@ee0f5ba))


### Bug Fixes

* `changelog-host` parameter ignored when using manifest configuration
([#1151](googleapis/release-please-action#1151))
([535c413](googleapis/release-please-action@535c413))
* bump mocha from 11.7.1 to 11.7.2 in the npm_and_yarn group across 1
directory
([#1149](googleapis/release-please-action#1149))
([3612a99](googleapis/release-please-action@3612a99))
* bump release-please from 17.1.2 to 17.1.3
([#1158](googleapis/release-please-action#1158))
([66fbfe9](googleapis/release-please-action@66fbfe9))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

3 participants