Skip to content

Commit

Permalink
Fix publishing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Feb 24, 2024
1 parent ae99192 commit c5ba46b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
run: |
git config --global user.name "RedCMD"
git config --global user.email "[email protected]"
if [[ $(git diff --stat) != '' ]]; then
git add .
git commit -m "Sync Github Actions"
fi
git add .
git diff-index --quiet HEAD || git commit -m "Sync Github Actions"
vsce publish patch --pre-release -p ${{ secrets.VSCE_PAT }}
git push
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"browser": "./out/web/extension.js",
"scripts": {
"build": "npm run compile && npm run compile-web && npm run generate-wasm",
"version": "git rm -f *.vsix && vsce package && git add -f *.vsix",
"version": "git rm -f --ignore-unmatch *.vsix && vsce package && git add -f --ignore-unmatch *.vsix",
"watch": "tsc -watch -p ./",
"watch-web": "webpack --watch",
"compile": "tsc -p ./",
Expand Down

0 comments on commit c5ba46b

Please sign in to comment.