compliantkubernetes-apps icon indicating copy to clipboard operation
compliantkubernetes-apps copied to clipboard

Re-running apps release script can cause problems

Open robinAwallace opened this issue 2 years ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

It can take some time to ensure that the branches created from the release script release/feature-freeze-for-major-minor-release.sh are merged. If you would cancel the script and rerun it at a later time, there could now be new commits it wants to add from main to the release. It would be good to at least document that it needs to be done in one "sitting" or handle this a bit more smoothly

Issues like the following can happen

release/feature-freeze-for-major-minor-release.sh v0.XY.0
[ck8s] ERROR: Your branch isn't up to date with upstream, please run 'git pull' and try again
...
Your branch is up to date with 'origin/release-0.XY".
fatal: A branch named 'reset-changelog-0.XY' already exists.

Expected behavior A clear and concise description of what you expected to happen.

release/feature-freeze-for-major-minor-release.sh handle mid aborts better or documentation explaining how to not end up in a this state.

robinAwallace avatar Sep 23 '22 12:09 robinAwallace