Skip to content

Commit

Permalink
Support any major version and optional v
Browse files Browse the repository at this point in the history
The regexes for our workflows were inconsistent with one another.

They should be the same, and not limit themselves to `1.x.y` and
`2.x.y`.
  • Loading branch information
rustydb committed Nov 5, 2024
1 parent f233ddf commit 7e6f418
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '*'
tags:
# semver tags:
- 'v[12].[0-9]+.[0-9]+'
- 'v[0-9].[0-9]+.[0-9]+'
pull_request:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- '*'
tags:
# semver tags:
- 'v[12].[0-9]+.[0-9]+'
- 'v[0-9].[0-9]+.[0-9]+'
pull_request:
branches:
- main
Expand Down

0 comments on commit 7e6f418

Please sign in to comment.