Commit 4431722 1 parent 2ee7a3f commit 4431722 Copy full SHA for 4431722
File tree 4 files changed +18
-2
lines changed
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ OVS_PAT=
Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ Just clone the [GitHub repository](https://github.com/bbenoist/vscode-nix) under
67
67
68
68
## Releasing a new version
69
69
70
+ * fill ` .env ` from ` .env.template `
71
+
70
72
``` sh
71
- export OVS_PAT=...
72
73
yarn release
73
74
```
74
75
Original file line number Diff line number Diff line change 92
92
"@types/vscode" : " *" ,
93
93
"@typescript-eslint/eslint-plugin" : " ^4.26.0" ,
94
94
"@typescript-eslint/parser" : " ^4.26.1" ,
95
+ "env-cmd" : " ^10.1.0" ,
95
96
"esbuild" : " ^0.12.21" ,
96
97
"eslint" : " ^7.21.0" ,
97
98
"eslint-config-prettier" : " ^8.1.0" ,
112
113
"postinstall" : " husky install" ,
113
114
"release" : " yarn install && yarn lint && yarn build && standard-version && git push --follow-tags && yarn run publish" ,
114
115
"package" : " vsce package" ,
115
- "publish" : " yarn package && vsce publish && ovsx publish --pat $OVS_PAT" ,
116
+ "publish" : " yarn package && vsce publish && env-cmd --expand-envs ovsx publish --pat $OVS_PAT" ,
116
117
"lint" : " eslint --ext ts src"
117
118
},
118
119
"dependencies" : {
Original file line number Diff line number Diff line change @@ -691,6 +691,11 @@ command-exists@^1.2.9:
691
691
resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.9.tgz#c50725af3808c8ab0260fd60b01fbfa25b954f69"
692
692
integrity sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==
693
693
694
+ commander@^4.0.0 :
695
+ version "4.1.1"
696
+ resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
697
+ integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
698
+
694
699
commander@^6.1.0 :
695
700
version "6.2.1"
696
701
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
@@ -1076,6 +1081,14 @@ entities@~2.0.0:
1076
1081
resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.3.tgz#5c487e5742ab93c15abb5da22759b8590ec03b7f"
1077
1082
integrity sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ==
1078
1083
1084
+ env-cmd@^10.1.0 :
1085
+ version "10.1.0"
1086
+ resolved "https://registry.yarnpkg.com/env-cmd/-/env-cmd-10.1.0.tgz#c7f5d3b550c9519f137fdac4dd8fb6866a8c8c4b"
1087
+ integrity sha512-mMdWTT9XKN7yNth/6N6g2GuKuJTsKMDHlQFUDacb/heQRRWOTIZ42t1rMHnQu4jYxU1ajdTeJM+9eEETlqToMA==
1088
+ dependencies :
1089
+ commander "^4.0.0"
1090
+ cross-spawn "^7.0.0"
1091
+
1079
1092
error-ex@^1.3.1 :
1080
1093
version "1.3.2"
1081
1094
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
You can’t perform that action at this time.
0 commit comments