Skip to content

Commit

Permalink
release-pipline:: fix double equals sign beeing inserted
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Wille committed May 16, 2024
1 parent 619234b commit b13e497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ jobs:
if: ${{ env.VERSION_DEV }}
run: |
v=$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH-dev$((VERSION_DEV+1))
sed -i "s/version = \".*\"$/version = = \"$v\"/" pyproject.toml
sed -i "s/version = \".*\"$/version = \"$v\"/" pyproject.toml
- name: increment patch version
if: ${{ !env.VERSION_DEV }}
run: |
v=$VERSION_MAJOR.$VERSION_MINOR.$((VERSION_PATCH+1))-dev0
sed -i "s/version = \".*\"$/version = = \"$v\"/" pyproject.toml
sed -i "s/version = \".*\"$/version = \"$v\"/" pyproject.toml
- name: commit new version-number
uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit b13e497

Please sign in to comment.