Parse-Swift icon indicating copy to clipboard operation
Parse-Swift copied to clipboard

Add release automation

Open mtrezza opened this issue 3 years ago • 11 comments
trafficstars

New Feature / Enhancement Checklist

Current Limitation

Add release automation

  • [x] 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

mtrezza avatar Nov 21 '21 23:11 mtrezza

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

The only thing that needs to be bumped for the version is: https://github.com/parse-community/Parse-Swift/blob/b4bdfb12ee980add480fcf30ddcead5a49509a72/Sources/ParseSwift/ParseConstants.swift#L13

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

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

cbaker6 avatar Nov 21 '21 23:11 cbaker6

Sounds good, should be an easy one.

mtrezza avatar Nov 21 '21 23:11 mtrezza

@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.

mtrezza avatar Jan 16 '22 14:01 mtrezza

I think it can skip beta

cbaker6 avatar Jan 16 '22 15:01 cbaker6

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?

mtrezza avatar Jan 16 '22 15:01 mtrezza

The name changes of the branches seem fine

cbaker6 avatar Jan 16 '22 15:01 cbaker6

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

mtrezza avatar Jan 16 '22 15:01 mtrezza

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.

mtrezza avatar Jan 18 '22 12:01 mtrezza

This sounds good to me

cbaker6 avatar Jan 18 '22 13:01 cbaker6

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.

mtrezza avatar Oct 24 '22 20:10 mtrezza