Upate workflow
This commit is contained in:
parent
2409937560
commit
f2c104f2dc
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
- name: ''
|
- name: ''
|
||||||
run: |
|
run: |
|
||||||
pip install bumpversion
|
pip install bumpversion --user
|
||||||
export regex="([0-9]+.[0-9]+.[0-9]+)"
|
export regex="([0-9]+.[0-9]+.[0-9]+)"
|
||||||
echo ${{ github.ref }} > tag.txt
|
echo ${{ github.ref }} > tag.txt
|
||||||
VERSION=`grep -Po "${regex}" tag.txt`
|
VERSION=`grep -Po "${regex}" tag.txt`
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
- name: ''
|
- name: ''
|
||||||
run: |
|
run: |
|
||||||
pip install bumpversion
|
pip install bumpversion --user
|
||||||
export regex="([0-9]+.[0-9]+.[0-9]+)"
|
export regex="([0-9]+.[0-9]+.[0-9]+)"
|
||||||
echo ${{ github.ref }} > tag.txt
|
echo ${{ github.ref }} > tag.txt
|
||||||
VERSION=`grep -Po "${regex}" tag.txt`
|
VERSION=`grep -Po "${regex}" tag.txt`
|
||||||
|
Loading…
Reference in New Issue
Block a user