From 73f5e2ada57cc1504bfd6ee0e8153d218cfa6ddc Mon Sep 17 00:00:00 2001 From: "@a-ng-d" Date: Sun, 22 Sep 2024 01:43:57 +0200 Subject: [PATCH] Refactor release.yml to use full reference instead of just tag name --- .github/workflows/release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bacb8e0..cb5c1053 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,6 @@ on: - '*' pull_request: types: - - opened - synchronize - closed @@ -29,8 +28,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.event.ref }} - release_name: Release ${{ github.event.ref }} + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} body: | ## What's Changed - [Friendly release note](https://ui-color-palette.canny.io/changelog/${{ github.ref_name }})・[Full Changelog](https://github.com/inVoltag/figma-ui-color-palette/commits/${{ github.ref_name }}) \ No newline at end of file + [Friendly release note](https://ui-color-palette.canny.io/changelog/${{ github.ref }})・[Full Changelog](https://github.com/inVoltag/figma-ui-color-palette/commits/${{ github.ref }}) \ No newline at end of file