amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Verify that every commit exists on master during release cut

Open jridgewell opened this issue 4 years ago • 8 comments

This is my attempt to ensure we never have another bad cherry-pick release again (see Failures of versioning recent cherry-picks).

It's extremely important that the version assigned to cherry-pick requests is seen as a continuation of the base release (only the last 3 digits may change). If a new cherry-pick of a beta were to be seen as a brand new release, it would break the monotonic increase we need for npm publishing.

jridgewell avatar Feb 04 '21 04:02 jridgewell

Hey @danielrozenberg! These files were changed:

build-system/compile/internal-version.js

amp-owners-bot[bot] avatar Feb 04 '21 04:02 amp-owners-bot[bot]

The unexpected amp version occurred because the cherry picked commits were resolving conflicts.

I thought this was a use case that we wanted to support?

estherkim avatar Feb 04 '21 15:02 estherkim

I thought this was a use case that we wanted to support?

By default, no. If there's something fishy, I'd rather halt than continue. But there's the --skip_commits_verification and --version_override that will allow us to support merge conflicts directly once we know about it.

jridgewell avatar Feb 04 '21 19:02 jridgewell

Ping @estherkim

jridgewell avatar Feb 05 '21 21:02 jridgewell

there's the --skip_commits_verification and --version_override that will allow us to support merge conflicts directly

That should work, as long as we can use that in our release automation process - @danielrozenberg is that possible?

estherkim avatar Feb 08 '21 17:02 estherkim

That should work, as long as we can use that in our release automation process - @danielrozenberg is that possible?

This is only needed for merge conflicts in CPs, which have to be done manually. All that's needed are documentation changes. The automation process should remain unchanged.

jridgewell avatar Feb 08 '21 23:02 jridgewell

is this PR a moot poot now?

estherkim avatar Mar 17 '21 20:03 estherkim

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 22 '22 09:07 CLAassistant

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 15 '23 16:10 stale[bot]