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
refactor: consolidate and enhance build and publish workflows for VS Code and Open VSX (#61)
* refactor: streamline publish workflow and improve version change detection
* refactor: enhance publish workflow to handle manual triggers and first commits
* refactor: enhance release notes generation with detailed changelog and installation instructions
* refactor: consolidate and enhance build and publish workflows for VS Code and Open VSX
Copy file name to clipboardExpand all lines: TECHNICAL.md
+67Lines changed: 67 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,73 @@ npm run generate-test-data
214
214
215
215
This will create sample time entries for the last 90 days with varied projects and durations.
216
216
217
+
### Marketplace Publishing Tests
218
+
219
+
The extension uses a consolidated workflow with granular control for testing each marketplace individually. You can test publishing to specific marketplaces without affecting production.
220
+
221
+
#### Test Only Open VSX Registry
222
+
223
+
```bash
224
+
# Using GitHub CLI
225
+
gh workflow run build-and-publish.yml \
226
+
--field publish_vscode=false \
227
+
--field publish_openvsx=true \
228
+
--field force_publish=true
229
+
230
+
# Or via GitHub UI:
231
+
# Actions → "Build and Publish Extension" → Run workflow
232
+
# ❌ Uncheck "Publish to VS Code Marketplace"
233
+
# ✅ Check "Publish to Open VSX Registry"
234
+
# ✅ Check "Force publish" (if no version change)
235
+
```
236
+
237
+
#### Test Only VS Code Marketplace
238
+
239
+
```bash
240
+
# Using GitHub CLI
241
+
gh workflow run build-and-publish.yml \
242
+
--field publish_vscode=true \
243
+
--field publish_openvsx=false \
244
+
--field force_publish=true
245
+
246
+
# Or via GitHub UI:
247
+
# Actions → "Build and Publish Extension" → Run workflow
248
+
# ✅ Check "Publish to VS Code Marketplace"
249
+
# ❌ Uncheck "Publish to Open VSX Registry"
250
+
# ✅ Check "Force publish" (if no version change)
251
+
```
252
+
253
+
#### Test Both Marketplaces (Default)
254
+
255
+
```bash
256
+
# Using GitHub CLI
257
+
gh workflow run build-and-publish.yml \
258
+
--field publish_vscode=true \
259
+
--field publish_openvsx=true \
260
+
--field force_publish=true
261
+
262
+
# Or via GitHub UI:
263
+
# Actions → "Build and Publish Extension" → Run workflow
264
+
# ✅ Check "Publish to VS Code Marketplace"
265
+
# ✅ Check "Publish to Open VSX Registry"
266
+
# ✅ Check "Force publish" (if testing without version change)
267
+
```
268
+
269
+
#### Workflow Input Parameters
270
+
271
+
| Parameter | Description | Default | Use Case |
272
+
|-----------|-------------|---------|----------|
273
+
|`publish_vscode`| Publish to VS Code Marketplace |`true`| Test VS Code publishing |
274
+
|`publish_openvsx`| Publish to Open VSX Registry |`true`| Test Open VSX publishing |
275
+
|`force_publish`| Force publish (ignore version change check) |`false`| Testing without version bump |
276
+
277
+
#### Testing Notes
278
+
279
+
-**Force Publish**: Use when testing without bumping the version in `package.json`
280
+
-**Individual Testing**: Disable one marketplace to test the other in isolation
281
+
-**Status Report**: The workflow provides detailed status for each marketplace
282
+
-**Artifacts**: VSIX files are stored as artifacts for 90 days for rollback capability
0 commit comments