diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 36944f4..0b19592 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -39,6 +39,9 @@ jobs: fetch-depth: 0 ref: ${{ github.sha }} + - name: Force correct release branch + run: git checkout -B ${{ github.ref_name }} ${{ github.sha }} + - name: Make Release id: release uses: python-semantic-release/python-semantic-release@v9.15.2