Skip to content

Commit

Permalink
Update release-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegurado authored Oct 24, 2024
1 parent c67a2e0 commit 175a7f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
release-notes:
description: "Release notes"
type: string
release-notes-path:
description: "Release notes path"
type: string
dist-script:
description: "Distribution script to execute"
type: string
Expand Down Expand Up @@ -85,6 +88,7 @@ jobs:
with:
tag_name: ${{ env.NEW_VERSION }}
body: ${{ inputs.release-notes }}
body_path: ${{ inputs.release-notes-path }}
prerelease: ${{ startsWith(inputs.release-type, 'pre') }}

# If public publish to npm
Expand All @@ -110,4 +114,4 @@ jobs:
bunx npm publish --access ${{ inputs.visibility }} --tag ${{ env.RELEASE_TAG }} $([[ "${{ inputs.visibility }}" = "public" ]] && echo "--provenance")
# Necessary when having an existing local .npmrc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 175a7f0

Please sign in to comment.