Skip to content

Commit

Permalink
release version in build workflow
Browse files Browse the repository at this point in the history
Signed-off-by: James Busche <[email protected]>
  • Loading branch information
jbusche committed Apr 3, 2024
1 parent e659341 commit 6623e9e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -r setup_requirements.txt
- name: Replace release-version with provided input value
run: |
export RELEASE_VERSION="{{ github.event.inputs.release-version }}"
sed -i "s/^version = \"[0-9.]*\"$/version = \"${RELEASE_VERSION}\"/g" pyproject.toml
- name: Build and test with tox
run: tox -e py39
- name: Build and check wheel package
Expand Down

0 comments on commit 6623e9e

Please sign in to comment.