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 50
50
run : |
51
51
new_version="${{ inputs.version_number }}"
52
52
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}"
55
54
56
55
- name : Update CHANGELOG.md
57
56
uses : DamianReeves/write-file-action@master
Original file line number Diff line number Diff line change 60
60
)
61
61
new_version="${{ inputs.version_number }}b${next_beta}"
62
62
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}"
65
64
fi
66
65
67
66
# Builds the package.
You can’t perform that action at this time.
0 commit comments