Skip to content

Commit

Permalink
Update pypi_upload.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlu1248 authored Mar 26, 2024
1 parent 971830d commit 4c4bc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo "Bumping version..."
old_version=$(sed -n 's/^version = "\(.*\)"$/\1/p' pyproject.toml)
new_version=$(echo $old_version | awk -F'.' '{$NF+=1; print $0}' OFS='.')
sed -i "s/version = \\\"\(.*\)\\\"/version = \\\\"$new_version\\\\"/" pyproject.toml
sed -i "s/version = \\\"\(.*\)\\\"/version = \\""$new_version\\""/" pyproject.toml
echo "New version: $new_version"
echo "version=$new_version" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 4c4bc96

Please sign in to comment.