From c670ead87cd1527920885b00c9fa39c25e53d7a7 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 25 Jun 2024 15:33:42 -0300 Subject: [PATCH] chore: Update release.yml to use the correct branch for the commit --- .github/workflows/release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f84be06364f..ec9828c0a6e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} \ No newline at end of file + commit: ${{ github.ref }} \ No newline at end of file