Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ on:
push:
tags:
- v*
workflow_dispatch:
inputs:
tag:
description: 'Tag to create release for (e.g., v1.2.3)'
required: true
type: string
skip_pypi:
description: 'Skip PyPI publication (for manual runs)'
required: false
type: boolean
default: false

jobs:
build:
Expand Down Expand Up @@ -33,7 +44,7 @@ jobs:
publish-to-pypi:
name: >-
publish-to-pypi 📢
if: ${{startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '.dev')}} # only publish to PyPI on tag pushes
if: ${{ (startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'dev')) || (github.event_name == 'workflow_dispatch' && !inputs.skip_pypi) }}
needs:
- build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,7 +81,7 @@ jobs:
name: python-package-distributions
path: dist/
- name: sign-with-sigstore
uses: sigstore/gh-action-sigstore-python@v2.1.1
uses: sigstore/gh-action-sigstore-python@v3.0.1
with:
inputs: >-
./dist/*.tar.gz
Expand Down Expand Up @@ -117,4 +128,4 @@ jobs:
- name: publish-dist-to-testpypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "decombinator"
version = "5.0.0.dev0"
version = "5.0.1"
description = "A fast and efficient tool for the analysis of T-cell receptor repertoire sequences produced by deep sequencing."
readme = "README.md"
license = {file = "LICENSE"}
Expand Down
1 change: 1 addition & 0 deletions src/decombinator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "5.0.1"