From 4903e7ef2bc5437e64e8cba861148166f62ee813 Mon Sep 17 00:00:00 2001 From: Tom Searle Date: Mon, 18 Aug 2025 16:55:22 +0100 Subject: [PATCH 1/2] fix relasease builds --- .github/workflows/qa.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 9e71a032..b9b90912 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -44,6 +44,7 @@ jobs: with: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ + packages_dir: client/dist # Build and test webapp container build-and-push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d7b79d7..76a90e4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,7 @@ jobs: uses: pypa/gh-action-pypi-publish@v1.4.2 with: password: ${{ secrets.PYPI_API_TOKEN }} + packages_dir: client/dist # Build and test webapp container build-and-push: From 00be12bbd2db9b1c7f319c8b0257b6e1d5ccbbda Mon Sep 17 00:00:00 2001 From: Tom Searle Date: Mon, 18 Aug 2025 17:33:26 +0100 Subject: [PATCH 2/2] fix relasease builds - bump version as required --- .github/workflows/qa.yml | 3 +++ .github/workflows/release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index b9b90912..fbe65280 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -34,6 +34,9 @@ jobs: cd client python -m pytest tests/ -v + - name: Bump version for TestPyPI + run: sed -i "s/^version = .*/version = \"1.0.0.dev$(date +%s)\"/" client/pyproject.toml + - name: Build client package run: | cd client diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76a90e4b..8a74751d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,9 @@ jobs: cd client python -m pytest tests/ -v + - name: Bump version for PyPI + run: sed -i "s/^version = .*/version = \"1.0.0.dev$(date +%s)\"/" client/pyproject.toml + - name: Build client package run: | cd client