Fix version strings in workflow files
This commit is contained in:
parent
81f03e6573
commit
5f823a4c9b
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -71,7 +71,7 @@ jobs:
|
|||
run: |
|
||||
pip install --upgrade build twine
|
||||
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
|
||||
sed -i -e "s/0.0.0-auto.0/1.2.3/" $file;
|
||||
sed -i -e "s/0.0.0+auto.0/1.2.3/" $file;
|
||||
done;
|
||||
python -m build
|
||||
twine check dist/*
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -82,7 +82,7 @@ jobs:
|
|||
TWINE_PASSWORD: ${{ secrets.pypi_password }}
|
||||
run: |
|
||||
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
|
||||
sed -i -e "s/0.0.0-auto.0/${{github.event.release.tag_name}}/" $file;
|
||||
sed -i -e "s/0.0.0+auto.0/${{github.event.release.tag_name}}/" $file;
|
||||
done;
|
||||
python -m build
|
||||
twine upload dist/*
|
||||
|
|
Loading…
Reference in a new issue