gocuke icon indicating copy to clipboard operation
gocuke copied to clipboard

[ci] auto-create tag + release on merge to main branch

Open 0xste opened this issue 2 years ago • 4 comments

Make use of:

  • bump version number using: https://github.com/marketplace/actions/semver-conventional-commits
  • comment/post changelog https://github.com/marketplace/actions/changelog-from-conventional-commits
  • tag + release on merge to main

0xste avatar Nov 17 '23 22:11 0xste

Sounds reasonable, but how would this work with major version releases given that the import path needs to change?

aaronc avatar Nov 20 '23 17:11 aaronc

Major versions we’d probably still bump manually if we wanted to include a /v2 suffix on import, but would be an exceptional scenario for the most part

Wanted to remove some of the labour from the tagging/release process for bumps and patches as the primary use case

Likely could/should be coupled with more test coverage to ensure comparability going forward

0xste avatar Nov 20 '23 21:11 0xste

Yeah for minor and patch versions automation would be nice. Ideally this stays on a stable v1 for a while

aaronc avatar Nov 21 '23 01:11 aaronc

I would note that the generate release notes feature in Github releases is pretty decent if we do need to do this manually.

aaronc avatar Dec 12 '23 18:12 aaronc