mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-23 08:41:07 +07:00
Update example with appropriate regex
This commit is contained in:
parent
216b186a7a
commit
ade8d2e19b
@ -21,9 +21,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: butlerlogic/action-autotag@stable
|
||||
- uses: butlerlogic/action-autotag@master
|
||||
with:
|
||||
regex_pattern: "/(?:version:)(?:\\s)?(\\d+\\.\\d+\\d+.+)\\n?/"
|
||||
regex_pattern: "(version:)(\\s)?(?<version>\\d+\\.\\d+\\.\\d+(.+)?)\\n?"
|
||||
root: ./.gorc
|
||||
tag_prefix: "v"
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
Loading…
Reference in New Issue
Block a user