mirror of
https://github.com/yeslayla/cognito-oauthtools.git
synced 2025-12-07 00:23:24 +01:00
Intergrate with semver action
This commit is contained in:
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user