From 199ed430b1888502a24372a9a5539c74b32aeab0 Mon Sep 17 00:00:00 2001 From: Jackie Quach Date: Tue, 26 Mar 2024 15:43:49 -0400 Subject: [PATCH] update release github action --- .github/workflows/build-production.yaml | 9 +++++---- CHANGELOG.md | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-production.yaml b/.github/workflows/build-production.yaml index 70239ed6..bc2d008d 100644 --- a/.github/workflows/build-production.yaml +++ b/.github/workflows/build-production.yaml @@ -19,22 +19,23 @@ jobs: - name: Tag id: autotagger uses: butlerlogic/action-autotag@stable - with: + env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + with: strategy: package - prefix: v + tag_prefix: v # use the body of the PR commit as the tag message tag_message: ${{ github.event.pull_request.body }} - name: Release id: create_release if: steps.autotagger.outputs.tagname != '' - uses: actions/create-release@v1.0.0 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.autotagger.outputs.tagname }} - release_name: ${{ steps.autotagger.outputs.tagname }} + name: ${{ steps.autotagger.outputs.tagname }} # use the body of the PR commit as the release body body: ${{ github.event.pull_request.body }} draft: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 9784e844..9d33186a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [Pre-release] - SFR-1917: Fixed failing Playwright tests +- Update Github Action for release from create-release to action-gh-release ## [0.18.0]