Closed asoorm closed 3 years ago
I'll take a stab at implementing this using goreleaser. Might have to tweak the commit tags to make it work.
Thanks @alephnull - Just FYI - I've implemented basic goreleaser to build using Dockerfile, but it only builds when I push a tag manually.
If you could just validate my setup, and Maybe this is OK as per our discussions for time being.
@asoorm The goreleaser stuff looks great.
Feature: Automatically build and publish latest & tag version bump versions based on SemVer Scenario: Merge a pull request with commit "#patch" [&c]
This is partially addressed. When the semver policy is established, we can stop having to tag versions by hand. I propose a policy based on branches like the rest of tyk. This is an attempt to work with current branching strategies that developers are familiar with and move to a state where we do not have to tag versions by hand.
master
is the development branch that all branches have as a common ancestorv1.1
corresponds to major release v1.1
and so onv1.1
bumps PATCHvx.y
branch that has a title that matches the regexp ^#minor: .*
bumps MINOR (y), resetting PATCH to 0git describe --tags
in automationQuestions like
Scenario: Auto publish release notes
Should be easy to generate changelog and release notes when the semver policy is established.
Scenario: Build and Publish to DockerHub
I think this is done. For now at least.
Thanks @alephnull closing & marking as Done.
--- DONE, But needs validation