chore: Update release.yml to use the correct branch for the commit

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-25 15:33:42 -03:00
commit 20ceb42504

View file

@ -14,11 +14,7 @@ on:
required: false
type: boolean
default: true
branch:
description: "Branch to release from"
required: true
type: string
default: "main"
env:
POETRY_VERSION: "1.8.2"
@ -180,4 +176,4 @@ jobs:
generateReleaseNotes: true
prerelease: ${{ inputs.pre_release }}
tag: v${{ needs.release-main.outputs.version }}
commit: ${{ inputs.branch }}
commit: ${{ github.ref }}