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
echo "Ensure the \`VSCE_PAT\` secret is configured with a valid Azure DevOps PAT"
443
459
echo "with the \`Marketplace (Publish)\` scope for all accessible organizations."
444
460
fi
461
+
echo ""
462
+
echo "# 🌐 Open VSX Registry"
463
+
echo ""
464
+
if [ "${{ steps.publish_open_vsx.outcome }}" == "success" ]; then
465
+
echo "✅ Extension v${{ needs.release.outputs.version }} published to the [Open VSX Registry](https://open-vsx.org/extension/RobBos/copilot-token-tracker)"
466
+
elif [ "${{ steps.publish_open_vsx.outcome }}" == "skipped" ]; then
467
+
echo "⏭️ Open VSX publish skipped."
468
+
else
469
+
echo "❌ Failed to publish v${{ needs.release.outputs.version }} to the Open VSX Registry."
470
+
echo ""
471
+
echo "Ensure the \`OPEN_VSX_TOKEN\` secret is configured with a valid Open VSX token."
472
+
fi
445
473
} >> "$GITHUB_STEP_SUMMARY"
446
474
447
475
build-visualstudio:
@@ -658,4 +686,3 @@ jobs:
658
686
"## ❌ Build failed — no .vsix produced" >> $env:GITHUB_STEP_SUMMARY
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -415,7 +415,7 @@ The project uses a fully automated release pipeline via GitHub Actions.
415
415
416
416
The workflow inputs:
417
417
-`create_tag` — Creates a git tag from the `package.json` version (default: true)
418
-
-`publish_marketplace` — Publishes to the VS Code Marketplace (default: true)
418
+
-`publish_marketplace` — Publishes to the VS Code Marketplace and Open VSX (default: true)
419
419
420
420
The workflow automatically:
421
421
@@ -425,13 +425,14 @@ The workflow automatically:
425
425
4. Runs the full build pipeline (lint, type-check, compile, test)
426
426
5. Creates a GitHub Release with the VSIX attached
427
427
6. Publishes to the VS Code Marketplace (using the `VSCE_PAT` secret)
428
-
7. Opens a PR to sync `CHANGELOG.md` in the repository
428
+
7. Publishes to the Open VSX Registry (using the `OPEN_VSX_TOKEN` secret)
429
+
8. Opens a PR to sync `CHANGELOG.md` in the repository
429
430
430
-
> **Security:** Only users with repository write access can trigger the `workflow_dispatch`. The `VSCE_PAT` secret must be configured in repository settings (Settings → Secrets and variables → Actions). Create a PAT at https://dev.azure.com with the "Marketplace (Publish)" scope.
431
+
> **Security:** Only users with repository write access can trigger the `workflow_dispatch`. The `VSCE_PAT` secret must be configured in repository settings (Settings → Secrets and variables → Actions). Create a PAT at https://dev.azure.com with the "Marketplace (Publish)" scope. The `OPEN_VSX_TOKEN` secret must also be configured; create a token at https://open-vsx.org/user-settings/tokens.
431
432
432
433
### Tag-Based Release (Build Only)
433
434
434
-
Pushing a version tag (e.g., `git push origin v0.0.19`) triggers the build and creates a GitHub release, but does **not** publish to the marketplace. Use the workflow dispatch for the full pipeline.
435
+
Pushing a version tag (e.g., `git push origin v0.0.19`) triggers the build and creates a GitHub release, but does **not** publish to the marketplaces. Use the workflow dispatch for the full pipeline.
0 commit comments