Closed breml closed 2 years ago
@breml thanks for this - how does it work?
@matryer The github action does trigger, when ever a new tag containing v[0-9]*
is observed. What I normally do is, I create a new release on github and while doing so, I create the new version tag. This then triggers the release pipeline and uploads all the necessary release binaries as artifacts for the release.
While writing this, I just realized, that the regexp for the tag is maybe not the best one. I guess, something link v[0-9.]+
would be better (or even a more sophisticated regexp, which only triggers on a correct semver).
According to https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#patterns-to-match-branches-and-tags, for semver the pattern would be v[0-9]+.[0-9]+.[0-9]+
.
Requested in https://github.com/matryer/moq/pull/171#issuecomment-1084293950