Intergrate with semver action

This commit is contained in:
2020-01-31 19:58:49 -05:00
parent 57c4293c1c
commit 783ab1cf1d
2 changed files with 6 additions and 20 deletions

View File

@@ -14,12 +14,10 @@ jobs:
with:
python-version: 3.7
- name: Update Version
run: |
pip install bumpversion
export regex="([0-9]+.[0-9]+.[0-9]+)"
echo ${{ github.ref }} > tag.txt
VERSION=`grep -Po "${regex}" tag.txt`
bumpversion minor --no-tag --new-version ${VERSION}
id: semver
uses: RightBrain-Networks/semver-action@1.0.0
with:
mode: get
- name: Install dependencies
run: |
python -m pip install --upgrade pip