Skip to content

Commit

Permalink
add prerelease: false to create release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed Feb 21, 2024
1 parent 2645ff6 commit d26d62a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
# create a release
- name: "Create GitHub Release"
uses: "actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea" # v7.0.1
id: create-github-release
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
script: |
Expand All @@ -101,6 +102,7 @@ jobs:
name: process.env.RELEASE_NAME,
owner: context.repo.owner,
repo: context.repo.repo,
prerelease: false,
tag_name: process.env.RELEASE_TAG,
body: require('fs').readFileSync('${{ github.workspace }}/release/release-body.md', 'utf8'),
target_commitish: '${{ github.event.client_payload.ref_name }}'
Expand Down
1 change: 1 addition & 0 deletions scripts/create-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ try {
name: process.env.RELEASE_NAME,
owner: context.repo.owner,
repo: context.repo.repo,
prerelease: false,
tag_name: process.env.RELEASE_TAG,
body: require('fs').readFileSync('${{ github.workspace }}/release/release-body.md', 'utf8'),
target_commitish: '${{ github.ref_name }}'
Expand Down

0 comments on commit d26d62a

Please sign in to comment.