Skip to content

Commit

Permalink
update release github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jackiequach committed Mar 26, 2024
1 parent 8f1af72 commit 199ed43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 199ed43

Please sign in to comment.