Skip to content

Commit f2c17f8

Browse files
author
Alec Delaney
committed
Fix version strings in workflow files
1 parent efbbe09 commit f2c17f8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
pip install --upgrade build twine
7373
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
74-
sed -i -e "s/0.0.0-auto.0/1.2.3/" $file;
74+
sed -i -e "s/0.0.0+auto.0/1.2.3/" $file;
7575
done;
7676
python -m build
7777
twine check dist/*

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
TWINE_PASSWORD: ${{ secrets.pypi_password }}
8383
run: |
8484
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
85-
sed -i -e "s/0.0.0-auto.0/${{github.event.release.tag_name}}/" $file;
85+
sed -i -e "s/0.0.0+auto.0/${{github.event.release.tag_name}}/" $file;
8686
done;
8787
python -m build
8888
twine upload dist/*

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install locally
2727
run: |
2828
for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
29-
sed -i -e "s/0.0.0-auto.0/1.2.3/" $file;
29+
sed -i -e "s/0.0.0+auto.0/1.2.3/" $file;
3030
done;
3131
pip install .
3232
- name: Run tests

0 commit comments

Comments
 (0)