Skip to content

Commit

Permalink
Adjust regex to work elsewhere
Browse files Browse the repository at this point in the history
Should allow auto-updating of versions in the README and GitHub
workflows.
  • Loading branch information
jakirkham committed Oct 23, 2021
1 parent 20bf56c commit 2beed9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/autotag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ jobs:
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
strategy: regex
root: ".github/workflows/build.yml"
regex_pattern: '\s*release\s*:\s*"([\d\.]+)"\s*'
regex_pattern: '.*\[?.*release\]?: .*(\d{4}\.\d{1,2}\.\d+).*'

0 comments on commit 2beed9b

Please # to comment.