Skip to content

Commit 35b0745

Browse files
authored
fixes release and upload to pypi (deepinv#588)
* Update upload_pypi.yml * Update release.yml * Update release.yml
1 parent 35f54c6 commit 35b0745

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616

1717
permissions:
1818
contents: write
19+
pull-requests: write
1920

2021
jobs:
2122
build-test-publish:
@@ -92,4 +93,4 @@ jobs:
9293
tag_name: v${{ steps.bump.outputs.version }}
9394
body_path: changelog.txt
9495
name: Release v${{ steps.bump.outputs.version }}
95-
files: dist/*
96+
files: dist/*

.github/workflows/upload_pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy on release branch merge
1+
name: Deploy to pipy
22

33
on:
44
pull_request:
@@ -45,6 +45,6 @@ jobs:
4545
TWINE_USERNAME: __token__
4646
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
4747
run: |
48-
python -m twine --verbose upload dist/*
48+
python -m twine upload dist/*
4949
50-
50+

0 commit comments

Comments
 (0)