Skip to content

Conversation

hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Apr 24, 2020

Based on the last release experience I wanted to see if we can further simplify and automate our release flow for Go. The existing workflow requires 2 PRs to carry out a release (one to update the version in dev, and another to merge dev into master). This change attempts to combine our separate staging and publish workflows into one (similar to our other Admin SDK repos).

  • Release is triggered by adding the release:publish label to the PR along with setting a specific title pattern.
  • Flow is triggered when the release PR (version bump) is merged to the dev branch.
  • dev branch is automatically merged into the master branch during release. This requires an access token with write privileges over the master branch. I'm going to work on procuring one for this repo.

Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

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

Thanks! Looking forward to test this :)

@hiranya911 hiranya911 merged commit f3813b4 into dev Apr 28, 2020
@hiranya911 hiranya911 deleted the hkj-release-flow branch April 28, 2020 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants