File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ jobs:
4646 git config --global user.name "$GITHUB_ACTOR"
4747 git config --global user.email "$CI_COMMIT_EMAIL"
4848
49- BASE_VERSION=`sed -ne 's/^version = "\([0-9\.a ]*\)"/\1/p' pyproject.toml`
49+ BASE_VERSION=`sed -ne 's/^version = "\([0-9\.post ]*\)"/\1/p' pyproject.toml`
5050 echo "Bumping from version $BASE_VERSION"
5151
5252 # Bump
5353 uv version --bump ${{ github.event.inputs.bump_rule }}
5454
55- NEW_VERSION=`sed -ne 's/^version = "\([0-9\.a ]*\)"/\1/p' pyproject.toml`
55+ NEW_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`
5656 echo "Bumping to version $NEW_VERSION"
5757
5858 # Build CHANGELOG
@@ -65,12 +65,12 @@ jobs:
6565
6666 # Bump to alpha (so that future commits do not have the same
6767 # version as the tagged commit)
68- BASE_VERSION=`sed -ne 's/^version = "\([0-9\.a ]*\)"/\1/p' pyproject.toml`
68+ BASE_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`
6969
7070 # Bump to pre-release of next version
7171 uv version --bump post
7272
73- NEW_VERSION=`sed -ne 's/^version = "\([0-9\.a ]*\)"/\1/p' pyproject.toml`
73+ NEW_VERSION=`sed -ne 's/^version = "\([0-9\.post ]*\)"/\1/p' pyproject.toml`
7474 echo "Bumping version $BASE_VERSION > $NEW_VERSION"
7575
7676 # Commit and push
Original file line number Diff line number Diff line change 1414 strategy :
1515 matrix :
1616 os : [ "ubuntu-latest" ]
17- python-version : [ "3.9 " ]
17+ python-version : [ "3.11 " ]
1818 runs-on : " ${{ matrix.os }}"
1919 steps :
2020 - name : Check out repository
2929 python-version : ${{ matrix.python-version }}
3030 - name : Add version to environment
3131 run : |
32- PROJECT_VERSION=`sed -ne 's/^version = "\([0-9\.a ]*\)"/\1/p' pyproject.toml`
32+ PROJECT_VERSION=`sed -ne 's/^version = "\([0-9\.]*\)"/\1/p' pyproject.toml`
3333 echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV
3434 - name : Build package for PyPI
3535 run : |
Original file line number Diff line number Diff line change 1+ Fix release workflow after updating to uv build backend
You can’t perform that action at this time.
0 commit comments