Skip to content

Commit

Permalink
Merge branch 'master' into fix-bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Heliozoa authored Sep 13, 2023
2 parents f7cfa79 + f6adc46 commit 8740f89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
node-version: [18.x]
env:
PRERELEASE: ${{ endsWith ( github.ref_name, '-prerelease' ) && '--pre-release' || '' }}
PRERELEASE: ${{ endsWith ( github.event.release.tag_name, '-prerelease' ) && '--pre-release' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
if: success() && github.event_name == 'release'
run: |
chmod +x bin/validateRelease.sh
bin/validateRelease.sh ${{ github.ref_name }}
bin/validateRelease.sh ${{ github.event.release.tag_name }}
vsce publish -p ${{ secrets.VSCE_PUBLISH_TOKEN }} ${{ env.PRERELEASE }} --packagePath extension/*.vsix
- name: Publish to Open VSX Marketplace
if: success() && github.event_name == 'release'
Expand Down

0 comments on commit 8740f89

Please sign in to comment.