Closed kwsutter closed 4 years ago
I tried to show it in #58 :smile:
Did someone forget to merge in the release branch after doing the release?
Yup, the 1.0.6-RELEASE branch needs to be merged and then deleted. Don't we have these instructions written down somewhere?
I tried to show it in #58 😄
Looks like you shouldn't have given up so easily... ;-) You were on the right track...
Yup, the 1.0.6-RELEASE branch needs to be merged and then deleted. Don't we have these instructions written down somewhere?
Probably two issues here... 1) The expected process is not documented sufficiently. And, 2) other teams don't use this separate branch idea. Instead, as part of the jenkins build, the pom is automatically updated with the next SNAPSHOT version. I know this is the way that MicroProfile does it, so there are multiple ways of advancing master to the next SNAPSHOT...
Taken care of now via PR #63 . Thanks for the discussion!
To be clear, the reason for the separate branch is that it allows you to correct mistakes. You can push something to the staging repo, create the branch, do some testing, and then discover that it's not right after all. You can then destroy the branch, destroy the staged artifacts, and do it all over again, and the "release" job does all of this for you so you can keep rerunning the release job as many times as you need to until you get it right.
If the release process had updated the repo, you then would have to commit a "rollback" change and try again. It leaves the repo full of your mistakes.
Obviously either way will work, with different advantages and disadvantages.
Something seems out of whack... We have released version 1.0.6 of the parent pom, but the actual file still has 1.0.6-SNAPSHOT. The code should be at 1.0.7-SNAPSHOT, correct? And, how did we get into this situation in the first place?