ci: build a release on GitHub only for v* tags #11

Merged
jcoffey-dev merged 1 commits from ci/tag-path-hardening into main 2026-09-30 13:45:53 +00:00
+2 -1
View File
@@ -82,7 +82,8 @@ jobs:
- run: go run golang.org/x/vuln/cmd/govulncheck@latest ./...
release:
if: vars.BUILD_ON == 'github' && github.ref_type == 'tag'
# v* tags only, as on Gitea: any other tag pushed by hand is not a release.
if: vars.BUILD_ON == 'github' && github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
needs: [test]
runs-on: ubuntu-latest
env: