File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
prepare-pypi-distribution Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 5050 run : |
5151 new_version="${{ inputs.version_number }}"
5252 echo "Updating version in pyproject.toml to ${new_version}"
53- # Update the "version" key in the [project] section of pyproject.toml.
54- sed -i '/^\[project\]/,/^\[/ s/^\(version\s*=\s*\)".*"/\1"'${new_version}'"/' pyproject.toml
53+ uv version "${new_version}"
5554
5655 - name : Update CHANGELOG.md
5756 uses : DamianReeves/write-file-action@master
Original file line number Diff line number Diff line change 6060 )
6161 new_version="${{ inputs.version_number }}b${next_beta}"
6262 echo "Updating version in pyproject.toml to ${new_version}"
63- # Update the "version" key in the [project] section of pyproject.toml.
64- sed -i '/^\[project\]/,/^\[/ s/^\(version\s*=\s*\)".*"/\1"'${new_version}'"/' pyproject.toml
63+ uv version "${new_version}"
6564 fi
6665
6766 # Builds the package.
You can’t perform that action at this time.
0 commit comments