Skip to content

Commit

Permalink
Try deploying 0.22.0rc1 to test pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarshall committed Oct 1, 2023
1 parent 48ddcc3 commit 6997ff2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
platforms: arm64

- name: Build wheels
uses: pypa/cibuildwheel@v2.15.0
uses: pypa/cibuildwheel@v2.16.1
env:
CIBW_BUILD: ${{ matrix.build }}
CIBW_SKIP: "*musllinux*"
Expand Down Expand Up @@ -92,9 +92,12 @@ jobs:
path: dist/*.tar.gz

upload_pypi:

needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi

permissions:
id-token: write

steps:
- name: Get Artifacts
Expand All @@ -104,11 +107,9 @@ jobs:
path: dist

- name: Publish distribution to Test PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@master
if: github.event_name == 'push'
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/

- name: Publish distribution to PyPI
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "pysam"
description = "pysam - a python module for reading, manipulating and writing genomic data sets."
license = { text = "MIT License" }
version = "0.21.0"
version = "0.22.0rc1"
authors = [
{ name = "Andreas Heger", email = "andreas.heger@gmail.com"}
]
Expand Down
2 changes: 1 addition & 1 deletion pysam/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pysam versioning information
__version__ = "0.21.0"
__version__ = "0.22.0rc1"

__samtools_version__ = "1.18"
__bcftools_version__ = "1.18"
Expand Down

0 comments on commit 6997ff2

Please sign in to comment.