From 1733fb4a5d8382acb214eea41d166fbd2bd1271d Mon Sep 17 00:00:00 2001 From: Ben Lewis Date: Mon, 25 Aug 2025 12:35:55 +0300 Subject: [PATCH 1/2] bump version to 0.1.21 (#155) Co-authored-by: GitHub Actions [release-bot] --- docs/_templates/github-pages-redirect.html | 4 ++-- hirundo/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_templates/github-pages-redirect.html b/docs/_templates/github-pages-redirect.html index cb9a4f1c..6c5a9cc0 100644 --- a/docs/_templates/github-pages-redirect.html +++ b/docs/_templates/github-pages-redirect.html @@ -3,8 +3,8 @@ Redirecting to main branch docs - + - + diff --git a/hirundo/__init__.py b/hirundo/__init__.py index 1f3e31ab..f0b85d54 100644 --- a/hirundo/__init__.py +++ b/hirundo/__init__.py @@ -63,4 +63,4 @@ "load_from_zip", ] -__version__ = "0.1.18" +__version__ = "0.1.21" diff --git a/pyproject.toml b/pyproject.toml index e6223546..6699df90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ packages = ["hirundo"] [project] name = "hirundo" -version = "0.1.18" +version = "0.1.21" description = "This package is used to interface with Hirundo's platform. It provides a simple API to optimize your ML datasets." authors = [{ name = "Hirundo", email = "dev@hirundo.io" }] readme = "README.md" From e470ecc645cbf7bf07e4d3ec26f089aa48caa721 Mon Sep 17 00:00:00 2001 From: Ben Lewis Date: Tue, 26 Aug 2025 10:02:06 +0300 Subject: [PATCH 2/2] Fix message escaping in `deploy-to-pypi.yaml` (PyPi deploy GitHub Actions workflow) --- .github/workflows/deploy-to-pypi.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-pypi.yaml b/.github/workflows/deploy-to-pypi.yaml index cf8e6526..93b814fc 100644 --- a/.github/workflows/deploy-to-pypi.yaml +++ b/.github/workflows/deploy-to-pypi.yaml @@ -34,7 +34,14 @@ jobs: git config user.name "GitHub Actions [release-bot]" git config user.email "github-actions@hirundo.io" git pull origin ${{ github.event.pull_request.base.ref }} - git tag -a ${{ github.event.pull_request.title }} -m "${{ github.event.pull_request.body }}" + + # Write PR body literally (no interpolation or command substitution) + cat > .tagmsg.txt <<-'EOF' + ${{ github.event.pull_request.body }} + EOF + + # Use PR title as the tag name; quote to handle spaces + git tag -a "${{ github.event.pull_request.title }}" -F .tagmsg.txt git push origin ${{ github.event.pull_request.title }} - name: Install dependencies & build package run: |