Skip to content

chore(main): release 4.4.1#1187

Merged
ferrarimarco merged 1 commit into
googleapis:mainfrom
yoshi-code-bot:release-please--branches--main--components--release-please-action
Mar 30, 2026
Merged

chore(main): release 4.4.1#1187
ferrarimarco merged 1 commit into
googleapis:mainfrom
yoshi-code-bot:release-please--branches--main--components--release-please-action

Conversation

@yoshi-code-bot
Copy link
Copy Markdown
Collaborator

🤖 I have created a release beep boop

4.4.1 (2026-02-20)

Bug Fixes

  • bump release-please from 17.1.3 to 17.3.0 (#1183) (ef9c274)

This PR was generated with Release Please. See documentation.

@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Feb 20, 2026
@mhanberg
Copy link
Copy Markdown

Looking forward to this update!

@erka
Copy link
Copy Markdown

erka commented Mar 3, 2026

any plans on merging this?

Aureliolo added a commit to Aureliolo/synthorg that referenced this pull request Mar 15, 2026
Draft GitHub releases don't create git tags, and force-tag-creation
requires release-please >= 17.2.0 (action v4.4.0 bundles 17.1.3).
Without the tag, RP falls back to scanning all commits and computes
a bogus version (e.g. 0.2.0 instead of 0.2.7).

Add a pre-RP step that reads the manifest version and creates the
tag if missing. Remove once googleapis/release-please-action#1187
ships.

Also: created v0.2.6 tag manually and closed bogus PR #471.
Aureliolo added a commit to Aureliolo/synthorg that referenced this pull request Mar 15, 2026
## Summary

- Add a pre-RP step to `release.yml` that reads the manifest version and
creates the git tag if missing — draft GitHub releases don't create
tags, and `force-tag-creation` requires RP >= 17.2.0 (action v4.4.0
bundles 17.1.3)
- Update CLAUDE.md to document the workaround

## Context

Every release produced a bogus `release 0.2.0` PR because RP couldn't
find the latest release tag. Root cause: `force-tag-creation` flag is
silently ignored in RP 17.1.3 (feature added in 17.2.0). Waiting on
[googleapis/release-please-action#1187](googleapis/release-please-action#1187).

Also done outside this PR: created `v0.2.6` tag manually, closed bogus
PR #471.

## Test plan

- [ ] Next release PR merge creates the tag before RP runs
- [ ] RP finds the tag and does not produce a bogus version PR
- [ ] Remove workaround step once action v4.4.1 ships
@h3rmanj
Copy link
Copy Markdown

h3rmanj commented Mar 27, 2026

@chingor13 Any news on this? We need version 17.2.0 to create tags on draft releases, to support immutable releases.

@ferrarimarco ferrarimarco added this pull request to the merge queue Mar 30, 2026
Merged via the queue into googleapis:main with commit 5c625bf Mar 30, 2026
6 checks passed
@erka
Copy link
Copy Markdown

erka commented Mar 30, 2026

@ferrarimarco Could you please take a look at the action? It failed with the error

Error: release-please failed: Validation Failed: {"resource":"Release","code":"custom","field":"pre_receive","message":"pre_receive Repository rule violations found\n\nCannot create ref due to creations being restricted.\n\n"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"}

@mdrxy
Copy link
Copy Markdown

mdrxy commented Apr 7, 2026

@ferrarimarco quick bump it looks like this release failed

@ferrarimarco
Copy link
Copy Markdown
Contributor

@chingor13 @suztomo Did we change the repository configuration?

Error: release-please failed: Validation Failed: {"resource":"Release","code":"custom","field":"pre_receive","message":"pre_receive Repository rule violations found\n\nCannot create ref due to creations being restricted.\n\n"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"} - https://docs.github.com/rest/releases/releases#create-a-release

@github-actions
Copy link
Copy Markdown
Contributor

🤖 Created releases:

🌻

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

Labels

autorelease: tagged kokoro:force-run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants