Skip to content

Commit d8788c1

Browse files
authored
Merge pull request #40 from innate2adaptive/build-5.0.1
Push new version 5.0.1 to PyPi
2 parents d2a59c0 + 27292ab commit d8788c1

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ on:
44
push:
55
tags:
66
- v*
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: 'Tag to create release for (e.g., v1.2.3)'
11+
required: true
12+
type: string
13+
skip_pypi:
14+
description: 'Skip PyPI publication (for manual runs)'
15+
required: false
16+
type: boolean
17+
default: false
718

819
jobs:
920
build:
@@ -33,7 +44,7 @@ jobs:
3344
publish-to-pypi:
3445
name: >-
3546
publish-to-pypi 📢
36-
if: ${{startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '.dev')}} # only publish to PyPI on tag pushes
47+
if: ${{ (startsWith(github.ref, 'refs/tags/') && !contains(github.ref, 'dev')) || (github.event_name == 'workflow_dispatch' && !inputs.skip_pypi) }}
3748
needs:
3849
- build
3950
runs-on: ubuntu-latest
@@ -70,7 +81,7 @@ jobs:
7081
name: python-package-distributions
7182
path: dist/
7283
- name: sign-with-sigstore
73-
uses: sigstore/gh-action-sigstore-python@v2.1.1
84+
uses: sigstore/gh-action-sigstore-python@v3.0.1
7485
with:
7586
inputs: >-
7687
./dist/*.tar.gz
@@ -117,4 +128,4 @@ jobs:
117128
- name: publish-dist-to-testpypi
118129
uses: pypa/gh-action-pypi-publish@release/v1
119130
with:
120-
repository-url: https://test.pypi.org/legacy/
131+
repository-url: https://test.pypi.org/legacy/

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "decombinator"
3-
version = "5.0.0.dev0"
3+
version = "5.0.1"
44
description = "A fast and efficient tool for the analysis of T-cell receptor repertoire sequences produced by deep sequencing."
55
readme = "README.md"
66
license = {file = "LICENSE"}

src/decombinator/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "5.0.1"

0 commit comments

Comments
 (0)