diff options
author | Tim Harder <radhermit@gmail.com> | 2021-08-05 03:06:36 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2021-08-05 03:06:36 -0600 |
commit | aed7c415a6f29b7b6a0729962bc975e3ff14591e (patch) | |
tree | 02cd1acce51e51b13d014a3b2f5c9dd49e5f4c02 /.github | |
parent | add initial release guide (diff) | |
download | pkgcore-aed7c415a6f29b7b6a0729962bc975e3ff14591e.tar.gz pkgcore-aed7c415a6f29b7b6a0729962bc975e3ff14591e.tar.bz2 pkgcore-aed7c415a6f29b7b6a0729962bc975e3ff14591e.zip |
github: automatically create github release for tags
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ff32880d..86fdd2c4f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,10 +49,17 @@ jobs: twine check dist/* wheel2json dist/*.whl - - name: Upload files to pypi + - name: Upload to PyPI env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} if: startsWith(github.ref, 'refs/tags/') run: | twine upload dist/* + + - name: Create GitHub release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: dist/*.tar.gz + fail_on_unmatched_files: true |