Skip to content

Commit

Permalink
set preview field of package.json for pre-release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
devhawk committed Mar 18, 2024
1 parent 3f40160 commit bb36294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ jobs:
run: npx vsce pack ${{ steps.relInfo.outputs.version }} --no-git-tag-version
- name: Pack Pre-Release Extension
if: ${{ fromJSON(steps.relInfo.outputs.preRelease) }}
run: npx vsce pack ${{ steps.relInfo.outputs.version }} --no-git-tag-version --pre-release
run: |
npm pkg set preview=true --json
npx vsce pack ${{ steps.relInfo.outputs.version }} --no-git-tag-version --pre-release
- name: Upload Extension Artifact
uses: actions/[email protected]
with:
Expand Down

0 comments on commit bb36294

Please sign in to comment.