From 0421aacd64c3a3d657bb2a181aa19d371d64adb1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 24 Oct 2025 15:44:26 +0200 Subject: [PATCH] ci: Check out release branch for reuploads --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db6184ba3..fafd6b84b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,7 @@ jobs: timeout-minutes: 5 outputs: version: ${{ steps.bump.outputs.version }} + version_x: ${{ steps.bump.outputs.version_x }} release_id: ${{ steps.create-release.outputs.id }} permissions: contents: write # To push release commit/tag @@ -142,7 +143,7 @@ jobs: steps: - uses: actions/checkout@v5 with: - ref: v${{ needs.prepare.outputs.version }} + ref: v${{ inputs.release_type == 'reupload' && needs.prepare.outputs.version_x || needs.prepare.outputs.version }} - name: Set up Python uses: actions/setup-python@v6 with: