Skip to content

Commit

Permalink
fix: remove commitlint config file from extension package (#23)
Browse files Browse the repository at this point in the history
This will remove the `commitlint.config.js` file from the package.
Additionally, the release workflow is being modified to publish the
extension to the Visual Studio Marketplace.
  • Loading branch information
eduardomourar authored Sep 2, 2023
1 parent f5083b8 commit b75af2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ jobs:
- name: Add files and publish release
env:
GITHUB_TOKEN: ${{ github.token }}
VSCE_PAT: ${{ secrets.PAT_VSCE }}
TAG_NAME: ${{ steps.event_details.outputs.tag_name }}
run: |
npm ci
npm run package
mv wit-idl.vsix ${TAG_NAME}.vsix
mv wit-idl.vsix ${TAG_NAME}.vsix
gh release upload ${TAG_NAME} ${TAG_NAME}.vsix
vsce publish --package-path ${TAG_NAME}.vsix
label:
needs: [publish]
Expand Down
2 changes: 2 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
.github/
.gitignore
tests/
commitlint.config.js
src/**

0 comments on commit b75af2d

Please sign in to comment.