From a1e9e2409a378de6d47f80e4d5540863f3e36947 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 7 Dec 2024 08:31:30 -0300 Subject: [PATCH] Set release title during deploy Otherwise 'gh release' will use the last commit in the branch by default. --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 03f689a..f37f529 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,5 +47,5 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release create v${{ github.event.inputs.version }} --target=${{ github.ref_name }} + gh release create v${{ github.event.inputs.version }} --target=${{ github.ref_name }} --title v${{ github.event.inputs.version }} gh pr merge ${{ github.ref_name }} --merge