Dawn icon indicating copy to clipboard operation
Dawn copied to clipboard

Release automation

Open Tunous opened this issue 5 years ago • 5 comments

Current idea for a workflow looks like this:

  1. Run manual workflow
    • [ ] An automated pull request is created preparing all that is necessary for a release
      • [x] Update repository changelog
      • [ ] Update F-Droid changelog
      • [ ] Keep these up to date if changes happen before merge
      • [ ] Read current version from build file
  2. Review and merge "release pull request"
    • [ ] Merged commit is tagged with appropriate version
      • [x] GitHub release is created with correct changelog and assets
      • [ ] New version is uploaded to Play Store internal (or beta?) track
    • [ ] Commit with bump for new version is created
    • [ ] Matching milestone is closed
    • [ ] A milestone for new version is created

This is being done so it'll be much quicker to release new version preventing long waits on users side for new features.

Tunous avatar May 05 '20 18:05 Tunous

Updated with new steps and marked what is done or still is todo with task list.

Tunous avatar Jan 29 '21 15:01 Tunous

Commit with bump for new version is created

~~I presume it should update versionName too, but which digit should it increment by default? Patch or minor?~~ EDIT: nvm, I see there's an input for this in action already

AbsurdlySuspicious avatar Jan 29 '21 20:01 AbsurdlySuspicious

It should increment patch number. The version entered into action is actually used to prepare changelog and merge request. Should change it to extract that from build file instead.

Tunous avatar Jan 31 '21 14:01 Tunous

I did some buildSrc fuckery to implement automatic version bumps in Password Store, the workflow logic is a bit complicated by how we handle branching there but I can port it to Dawn sometime in the coming week.

msfjarvis avatar Jan 31 '21 14:01 msfjarvis

That won't be necessary. We have access to gradle so getting it will be easy. I'm more interested in finding something to automate F-Droid changelog.

Tunous avatar Feb 01 '21 14:02 Tunous