ci: make and publish fixes after uv migration
Changelog-None.
This commit is contained in:
committed by
Rusty Russell
parent
57f87b429b
commit
5bdf6f4cfc
6
.github/workflows/pypi.yml
vendored
6
.github/workflows/pypi.yml
vendored
@@ -75,7 +75,7 @@ jobs:
|
||||
run: |
|
||||
echo "Pyln VERSION: $VERSION"
|
||||
uv build --package ${{ matrix.PACKAGE }}
|
||||
uv publish --package ${{ matrix.PACKAGE }} --publish-url https://test.pypi.org/legacy/ --skip-existing
|
||||
uv publish --publish-url https://test.pypi.org/legacy/ --check-url https://test.pypi.org/simple/
|
||||
|
||||
- name: Publish distribution 📦 to PyPI
|
||||
if: github.repository == 'ElementsProject/lightning' && steps.set-values.outputs.DISTLOCATION == 'prod'
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
cd ${{ env.WORKDIR }}
|
||||
export VERSION=$(git describe --tags --abbrev=0)
|
||||
echo "Pyln VERSION: $VERSION"
|
||||
make upgrade-version NEW_VERSION=$VERSION
|
||||
make update-pyln-versions NEW_VERSION=$VERSION
|
||||
cd /github/workspace
|
||||
uv build --package ${{ matrix.PACKAGE }}
|
||||
uv publish --package ${{ matrix.PACKAGE }}
|
||||
uv publish
|
||||
|
||||
Reference in New Issue
Block a user