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

Add release automation #285

Open
4 of 9 tasks
mtrezza opened this issue Nov 21, 2021 · 11 comments
Open
4 of 9 tasks

Add release automation #285

mtrezza opened this issue Nov 21, 2021 · 11 comments
Labels
type:ci CI related issue

Comments

@mtrezza
Copy link
Member

mtrezza commented Nov 21, 2021

New Feature / Enhancement Checklist

Current Limitation

Add release automation

  • Add release issue labels
  • Local auto-release dry-run
  • Add auto-release workflow
  • Modify PR template
  • Remove PR branches (keep only main, gh-pages)
  • Rename main to release branch

Feature / Enhancement Description

n/a

Example Use Case

n/a

Alternatives / Workarounds

n/a

@parse-github-assistant
Copy link

parse-github-assistant bot commented Nov 21, 2021

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added the type:ci CI related issue label Nov 21, 2021
@cbaker6
Copy link
Contributor

cbaker6 commented Nov 21, 2021

The only thing that needs to be bumped for the version is:

static let version = "2.2.6"

The changelog was manually modified, but you have a way to handle that.

The rest is handled by the release.yml and scripts.

@mtrezza
Copy link
Member Author

mtrezza commented Nov 21, 2021

Sounds good, should be an easy one.

@mtrezza
Copy link
Member Author

mtrezza commented Jan 16, 2022

@cbaker6 Does this repo currently need a beta branch in your opinion? If not then changes would be merged into alpha (working branch) and then periodically (e.g. monthly) merged into release branch to produce a stable release. We have some other repos where also we "skip" the beta releases because the added effort is not worth the benefit.

@cbaker6
Copy link
Contributor

cbaker6 commented Jan 16, 2022

I think it can skip beta

@mtrezza
Copy link
Member Author

mtrezza commented Jan 16, 2022

Ok, I'd also rename the main branch to release for consistency across repos, do you see any issues that need to be considered specifically for this repo?

@cbaker6
Copy link
Contributor

cbaker6 commented Jan 16, 2022

The name changes of the branches seem fine

@mtrezza
Copy link
Member Author

mtrezza commented Jan 16, 2022

Great, I'll coordinate with you before changing anything.

@mtrezza
Copy link
Member Author

mtrezza commented Jan 18, 2022

Just to ask, if you want to push out releases quickly, we can also only use a release branch without a pre-release (alpha, beta) branch for the moment. We are currently doing that in the Parse Android SDK to bring it up-to-date and get feedback faster. Another advantage is obviously that we don't need to supervise the merging of alpha into release every month or so, port hotfixes between branches and handle possible divergence. It seems you are putting a lot of care into reviewing PRs before merging anyway, so if you think it's a better fit for the moment we can also omit pre-release branches here.

@cbaker6
Copy link
Contributor

cbaker6 commented Jan 18, 2022

This sounds good to me

@mtrezza
Copy link
Member Author

mtrezza commented Oct 24, 2022

I shall finally take a stab at this to relieve you of manual releasing. Hopefully by the weekend this should be done, I'll keep you posted here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:ci CI related issue
Projects
None yet
Development

No branches or pull requests

2 participants