Skip to content

Commit 4715ac8

Browse files
committed
Include all tags using "*"
Using "v.*" probably accepts only tags which start with the fixed string "v.", which will never happen. This is not regular expression but Glob according to the documentation. The =branches=, =branches-ignore=, =tags=, and =tags-ignore= keywords accept glob patterns that use characters like =*=, =**=, =+=, =?=, =!= and others to match more than one branch or tag name. If a name contains any of these characters and you want a literal match, you need to /escape/ each of these special characters with =\= . For more information about glob patterns, see the "[[https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet][Workflow syntax for GitHub Actions]]." -- [[https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore][Workflow syntax for GitHub Actions - GitHub Docs]] (/Retrieved:/ [2024-07-12 Fri 14:50])
1 parent 7206d5d commit 4715ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build Binary
33
on:
44
push:
55
tags:
6-
- v.*
6+
- v*
77

88
jobs:
99
build:

0 commit comments

Comments
 (0)