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

chore: [pt. 2] support alpha release #170

Merged
merged 1 commit into from
Feb 22, 2024
Merged

chore: [pt. 2] support alpha release #170

merged 1 commit into from
Feb 22, 2024

Conversation

aecorredor
Copy link
Member

Motivations

Missed this to make alpha releases actually run.

@aecorredor aecorredor merged commit 20435a1 into master Feb 22, 2024
6 checks passed
@aecorredor aecorredor deleted the alpha-release branch February 22, 2024 20:41
@@ -4,6 +4,7 @@ on:
push:
branches:
- 'master'
- 'alpha'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the alpha branch be used for 0.28? I guess I expected new release branches for each < 1.x axios release.

Copy link
Member Author

@aecorredor aecorredor Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this repo is already using semantic release, and the main line is already above 1.x, my plan was to support versions >= 0.28 <= 1.x as alpha pre-release versions, which we'd also support via semantic release by using the alpha branch - See this.

When you say new release branches, do you just mean to push this change to the main line? (that would mean just downgrading the axios version, right?)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't make the assumption that they'd avoid breaking change in 0.29, 0.30, etc. If you think they'll keep API compatibility for all new < 1.x releases your approach makes sense.

Worst case, you could make your assumption for now and introduce a new branch if they break compatibility. Hopefully it doesn't happen.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeap, like you said, I'm being optimistic about them sticking to real semver...

Copy link

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants