Skip to content

Commit

Permalink
expand grep/sed
Browse files Browse the repository at this point in the history
  • Loading branch information
alexqfredrickson committed May 6, 2024
1 parent 111845d commit 26d05a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/version-release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: update-version
run: |
NEW_VERSION=${{ github.event.inputs.new-version }}
OLD_VERSION=$(grep -o 'version\s=\s\".*\"' pyproject.toml)
OLD_VERSION=$(grep 'version\s\=\s\".*\"' pyproject.toml | grep -o '"[^"]\+"' | sed 's/\"//g')
echo $NEW_VERSION
echo $OLD_VERSION
Expand Down

0 comments on commit 26d05a0

Please sign in to comment.