Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Officially support creating a release based on an existing release #161

Open
Cheddam opened this issue Jan 17, 2020 · 1 comment
Open

Officially support creating a release based on an existing release #161

Cheddam opened this issue Jan 17, 2020 · 1 comment

Comments

@Cheddam
Copy link
Member

Cheddam commented Jan 17, 2020

As described in silverstripe-framework#9056, we have a frequent need to produce new releases that are identical to an existing release save for one or two new commits. The most common example of this would be releasing a new stable tag based on the last RC tag, but with a critical fix (security or otherwise).

Currently our 'process' for this is loose, involving either duplicating the prior release folder (if we have it) or generating a new copy of that release folder by specifying the previous version in the release:create command, copying in the .cow.pat.json file from the prior release, and manually setting all of the modules back to the right commit in the release branch (this part will be simplified once #153 is implemented). We're starting by documenting these processes, but we should really bake this functionality into Cow via a new parameter for the release:create command:

> cow release:create 4.6.0 --from=4.6.0-rc1

This would:

  • Create the release folder based on 4.6.0-rc1, but named 4.6.0
  • Run the release:checkout-tagged-base command to get all the module repos into the right state

This won't save a lot of time overall, but it will reduce the complexity and verbosity of the process, and simplify our documentation around it.

@robbieaverill
Copy link

Lol - this sounds similar to #133

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

No branches or pull requests

3 participants