You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+11-3
Original file line number
Diff line number
Diff line change
@@ -182,8 +182,16 @@ We're happy to gather more resources over time here, including more in-depth get
182
182
183
183
1. Bump the version properly in `package.json` and `server/package.json` and their lockfiles. Commit and push the version bump.
184
184
2. Make sure @ryyppy is aware of your changes. He needs to sync them over to the vim plugin.
185
-
3. Let CI build your version bump commit. Download the autogenerated `.vsix` from that CI run, unzip it, and rename it to `rescript-vscode-<version-number>.vsix` (`rescript-vscode-1.3.0.vsix` for example).
186
-
4. Go to the appropriate [VSCode Marketplace Publisher](https://marketplace.visualstudio.com/manage/publishers/chenglou92), select the three dots next to the extension name, and choose `Update`. Upload your `.vsix` there.
187
-
5. Not done! Make a new manual release [here](https://github.com/rescript-lang/rescript-vscode/releases), and make sure you attach the generated `.vsix` onto that new release as well. This is for folks who don't use the VSCode marketplace.
185
+
3. Let CI build your version bump commit.
186
+
4. Tag the commit with the version number (e.g. `git tag 1.6.0`) and push the tag (e.g. `git push origin 1.6.0`). Another build will trigger, which should automatically:
187
+
- create a `rescript-vscode-<version-number>.vsix` file
188
+
- publish that extension version to the VSCode marketplace
189
+
- create an automatic release on GitHub
190
+
191
+
If that somehow does not work, you can do the above steps manually:
192
+
193
+
1. Download the autogenerated `.vsix` from the previous successful CI run, unzip it, and rename it to `rescript-vscode-<version-number>.vsix` (`rescript-vscode-1.3.0.vsix` for example).
194
+
2. Go to the appropriate [VSCode Marketplace Publisher](https://marketplace.visualstudio.com/manage/publishers/chenglou92), select the three dots next to the extension name, and choose `Update`. Upload your `.vsix` there.
195
+
3. Not done! Make a new manual release [here](https://github.com/rescript-lang/rescript-vscode/releases), and make sure you attach the generated `.vsix` onto that new release as well. This is for folks who don't use the VSCode marketplace.
188
196
189
197
For beta releases, ask folks to try the `.vsix` from CI directly.
0 commit comments