Skip to content

Commit

Permalink
fix: release to ovsx registry
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Aug 20, 2021
1 parent 32373cf commit b07688e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Just clone the [GitHub repository](https://github.com/bbenoist/vscode-nix) under
* fill `.env` from `.env.template`

```sh
yarn release
yarn env-cmd yarn release
```

---
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,12 @@
"build": "yarn run build-base -- --sourcemap --minify",
"watch": "yarn run build-base -- --sourcemap --watch",
"postinstall": "husky install",
"clean": "yarn del dist",
"clean": "del dist",
"release": "yarn install && yarn lint && yarn clean && yarn build && standard-version && git push --follow-tags && yarn run publish",
"prepackage": "del *.vsix",
"package": "vsce package",
"publish": "yarn package && vsce publish && env-cmd --expand-envs ovsx publish --pat $OVS_PAT",
"publish:ovsx": "yarn env-cmd --expand-envs ovsx publish *.vsix --pat $OVS_PAT",
"publish": "yarn package && vsce publish && yarn publish:ovsx",
"lint": "eslint --ext ts src"
},
"dependencies": {
Expand Down

0 comments on commit b07688e

Please sign in to comment.