-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Use next
branch for next minor releases
#734
Comments
This is a persuasive point to me. As you say, it removes the need to have to edit the branch names in package.json files for every release - so I like the simplification. |
I'm sold. I'd just probably call it |
I have to say that be default I was against as in slack I could see only one motivator, which was consistency with semantic-releases but, now, I see great improvement really:
I'm all ❤️ for it I saw @fmvilas comment on |
I'm in as well with |
Yeah, you're right. It may happen that during a release we have only patches. During the spec 3.0 meeting today, a new problem has been surfaced: are the So I'm here now suggesting that we use I hope I made myself understandable 😅 |
I like this 👍 |
oh, good point about the naming, yeah |
If i understand correctly, this is what we all agreed here so far:
Shall we also keep WDYT? |
|
I would vote not to remove it. I don't think it hurts having that branch in there IMHO.
As a summary, those branches will be there to remove friction for contributors so they feel free to start working on anything without having to ask for branches (ask for creating them or just to what branches their PR's should target). |
it will quickly get outdated and will be less useful than it could. Of course, I mean after 3.0 release. |
I agree, it will. 👍 Will it make sense to always have that branch included in |
I guess it makes sense to have it always by default in |
After receiving all the feedback, this is what we agreed so far:
Did I summarize 👍 or 👎 ? cc @dalelane @derberg @fmvilas @jonaslagoni If we agree, I will add this into the |
After releasing 2.4, I will work on this so I can remove the mentions to |
I created a PR updating the |
The following issues asking Code Owners to create those branches have been created: |
The following PR has been created updating
For the |
All the tasks and PRs related to this issue have been done or merged. Closing this issue. |
Context
We use semantic-release for releasing our software. That helps us to follow a standard procedure for the releases, which allows us to have the release process automated by scripts.
Semantic-release deploys, by default, the following branches:
master
N.N.x
orN.x.x
orN.x
withN
being a number)next
distribution channel from the branchnext
if it existsnext-major
distribution channel from the branchnext-major
if it existsbeta
distribution channel from the branchbeta
if it existsalpha
distribution channel from the branchalpha
if it existsRecently, we started using
next-major
branches, e.g. for the work related to3.0.0
version of the spec (see https://github.com/asyncapi/spec/tree/next-major).However, we don't use
next
for the regular minor releases. We do, instead, use{YEAR_OF_RELEASE}-{MONTH_OF_RELEASE}-release
(Read https://github.com/asyncapi/spec/blob/master/RELEASE_PROCESS.md#kick-off).Description
I suggest we create a
next
branch on the repositories and use it for minor releases.My main motivation behind that is the fact we will always have a branch created in there (
next
) ready to be used, a branch contributors will always target by default unless they represent a BC, wherenext-major
branch will be targeted. Less important, IMHO, is the fact that we would then be following the defaults of semantic-release, but also something that sums up.PROS:
next
, ornext-major
branch (unless patches, which will keep targetingmaster
), so its easy for them to find the right branch to use as base.master
to the recently created release branch dissapears.next
. (Removing the 5th step in https://github.com/asyncapi/spec/pull/722/files#diff-f8db13a291483ecd3b9b3a658ef71578da20891791ddce676d767cd5174552dbR154)..releaserc
files every time we start a release (e.g. https://github.com/asyncapi/spec/pull/681/files#diff-644a8fae29c8e8b6ad5405a2e66c718a3b27f2e12581b7c5e00396d32b3e5cde).CONS:
next
branch name is not as clear as it can be2022-04-release
.I would like to ask not only the Code Owners @fmvilas @derberg @dalelane but some randomly picked recent contributors as @char0n @KhudaDad414 @GeraldLoeffler @nictownsend @magicmatatjahu, even though everyone is invited to share their thoughts!
The text was updated successfully, but these errors were encountered: