Skip to content

Commit

Permalink
fix: properly assign verison in release-please (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Jan 23, 2024
1 parent 2aedb64 commit 766969d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: GoogleCloudPlatform/release-please-action@v3
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
release-type: python
package-name: varfish-cli
token: ${{ secrets.BOT_TOKEN }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0

- name: Set up Python
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -37,7 +35,7 @@ jobs:
- name: Publish to PyPI
if: ${{ steps.release.outputs.release_created }}
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 766969d

Please sign in to comment.