From 742076e24da2f7f13e4a5cd99445a210e483e61f Mon Sep 17 00:00:00 2001 From: Julian Risch Date: Thu, 9 Jul 2026 11:27:46 +0200 Subject: [PATCH] ci: remove manual v3 pre-release workflow Remove .github/workflows/v3_pypi_release.yml, the manually triggered workflow used to publish pre-releases from the v3 branch to PyPI. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/v3_pypi_release.yml | 47 --------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/v3_pypi_release.yml diff --git a/.github/workflows/v3_pypi_release.yml b/.github/workflows/v3_pypi_release.yml deleted file mode 100644 index 986b170964e..00000000000 --- a/.github/workflows/v3_pypi_release.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Manual pre-release from v3 on PyPI - -on: - workflow_dispatch: - -env: - HATCH_VERSION: "1.16.5" - -permissions: - contents: read - -jobs: - v3-release: - runs-on: ubuntu-latest - environment: pypi - permissions: - id-token: write - steps: - - name: Checkout v3 - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - persist-credentials: false - ref: v3 - fetch-depth: 1 - - # Reads VERSION.txt, strips any -rcN suffix, and appends .devYYYYMMDDHHMMSS - # (e.g. 3.0.0.dev20260519000000) so each run gets a unique, PEP 440–valid pre-release version. - - name: Set pre-release version - id: set-version - run: | - BASE_VERSION=$(sed 's/-rc[0-9]*$//' VERSION.txt) - TIMESTAMP=$(date +%Y%m%d%H%M%S) - PRERELEASE_VERSION="${BASE_VERSION}.dev${TIMESTAMP}" - echo "version=${PRERELEASE_VERSION}" >> "$GITHUB_OUTPUT" - echo "${PRERELEASE_VERSION}" > VERSION.txt - echo "Building haystack-ai version: ${PRERELEASE_VERSION}" - - - name: Install Hatch - run: | - python -m pip install --upgrade pip - pip install hatch==${{ env.HATCH_VERSION }} --uploaded-prior-to=P1D - - - name: Build Haystack - run: hatch build - - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0