Skip to content

Commit

Permalink
ci: fixing getting version number
Browse files Browse the repository at this point in the history
  • Loading branch information
delfick committed Aug 21, 2022
1 parent 35002f2 commit d821763
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:

- id: version
run: |
printf "::set-output name=version::%s\n" $(python -c "import runpy; print(runpy.run_path('strcs/__init__.py')['VERSION'])")
printf "::set-output name=versiondash::%s\n" $(python -c "import runpy; print(runpy.run_path('strcs/__init__.py')['VERSION'].replace('.', '-'))")
printf "::set-output name=version::%s\n" $(python -c "import runpy; print(runpy.run_path('strcs/version.py')['VERSION'])")
printf "::set-output name=versiondash::%s\n" $(python -c "import runpy; print(runpy.run_path('strcs/version.py')['VERSION'].replace('.', '-'))")
- id: package
run: >
Expand Down

0 comments on commit d821763

Please sign in to comment.