mirror of https://github.com/coqui-ai/TTS.git
Fix version checking
This commit is contained in:
parent
ae364e5b12
commit
66ccb7488e
|
@ -10,6 +10,7 @@ jobs:
|
||||||
build-sdist:
|
build-sdist:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
- name: Verify tag matches version
|
- name: Verify tag matches version
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
|
@ -18,12 +19,6 @@ jobs:
|
||||||
if [[ "v$version" != "$tag" ]]; then
|
if [[ "v$version" != "$tag" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Verify tag matches version
|
|
||||||
run: |
|
|
||||||
set -ex
|
|
||||||
version=$(cat TTS/VERSION)
|
|
||||||
tag="${GITHUB_REF/refs\/tags\/}"
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
Loading…
Reference in New Issue