commit | c011e40163d6a84dd0d30c0a1c26041f3c6accf6 | [log] [tgz] |
---|---|---|
author | Alexandre Rostovtsev <arostovtsev@google.com> | Thu Jan 23 10:53:04 2025 -0500 |
committer | GitHub <noreply@github.com> | Thu Jan 23 10:53:04 2025 -0500 |
tree | d5f87f90b080bc384005f5f93420d9b58cbbc486 | |
parent | 72b92be2a30cc72d018a1b13af7e64f8d8aed8b0 [diff] |
Fix push.tags pattern syntax (#275) In my change to #265, I was too clever and tried to add a tag pattern to allow arbitrary dotted numeric tag names. Alas, the github pattern syntax does not allow that: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet Switching to allow x.y and x.y.z format tags only. Fixes #274
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffe2768..9e2daec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml
@@ -18,7 +18,8 @@ on: push: tags: - - "[0-9]+.[0-9.]+" + - "[0-9]+.[0-9]+" + - "[0-9]+.[0-9]+.[0-9]+" jobs: build: