Create tag.yml
This commit is contained in:
parent
faf1d0b40c
commit
2dab738d31
18
.github/workflows/tag.yml
vendored
Normal file
18
.github/workflows/tag.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: Tag latest version
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: butlerlogic/action-autotag@master
|
||||||
|
with:
|
||||||
|
regex_pattern: 'version ?= ?"([0-9\.]{5}([\+][\w\.0-9]+)?)"'
|
||||||
|
root: ./Cargo.toml
|
||||||
|
tag_prefix: "v"
|
||||||
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Reference in a new issue