Repository navigation
ci: release to marketplace and open vsx with changesets - #52
Merged
Merged
Conversation
Publish as startfrom.packman. Changesets replaces the post-commit version bump hook, and the Release workflow opens version PRs and publishes, tags and creates GitHub releases on merge. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
3 tasks
cypherkunp
added a commit
that referenced
this pull request
Nov 23, 2026
The first Release run after #52 merged failed at **Publish to the VS Code Marketplace** because no `VSCE_PAT` was set ([run](https://github.com/startfromco/packman/actions/runs/45203234362)). Nothing was published or tagged. This PR switches Marketplace publishing to trusted publishing (GitHub Actions OIDC), so no token has to be stored. ## Changes - **`release.yml`**: adds `id-token: write` and runs `vsce publish --oidc`. `VSCE_PAT` is no longer used. - **`package.json`**: `publisher` is now `StartFrom`, matching the Marketplace publisher ID exactly. `repository`, `bugs` and `homepage` now point at `startfromco/packman`. - **`docs/releasing.md`**: replaces the PAT steps with the Trusted Publishing policy values and updates the ID to `StartFrom.packman`. `CHANGELOG.md`'s 1.1.0 entry now uses that ID too. ## Before merging Merging re-runs Release, which publishes **1.1.0** because `v1.1.0` isn't tagged yet. - [ ] Marketplace → StartFrom → Trusted Publishing: create a policy with owner `startfromco`, repository `packman`, workflow `release.yml` and no environment - [ ] Open VSX: create the `StartFrom` namespace and add the `OVSX_PAT` secret. Without it the Open VSX step fails after the Marketplace publish succeeds; re-running is safe thanks to `--skip-duplicate`. - [ ] Settings → Actions → General: turn on "Allow GitHub Actions to create and approve pull requests" 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Publishes Packman under the new ID
startfrom.packman, using Changesets for versioning and a GitHub Actions pipeline that ships to the VS Code Marketplace and Open VSX. The first release is 1.1.0.What changes
publisheris nowstartfromand the version is 1.1.0.CHANGELOG.mdgets a 1.1.0 entry that announces the new ID and points to the 0.1.0 notes.private: truestops anyone from runningnpm publishon it by accident.@changesets/cliv3) withprivatePackages.versionturned on, plus aversion-packagesscript that also refreshes the lockfile.ci.yml, on PRs and pushes tomain): typecheck, tests, packages the VSIX and uploads it as an artifact.release.yml, on pushes tomainand manual dispatch):chore: version packagesPR;v<version>isn't tagged, it packages the VSIX, runsvsce publishand thenovsx publish(both with--skip-duplicate), tagsv<version>and creates a GitHub release with that version's changelog section and the VSIX attached.changeset publishoutput, because v3 changed that output format.scripts/bump-version.mjs, its test and.pre-commit-config.yaml), since Changesets now owns the version..vscodeignorenow also excludes.changeset/,.impeccable/,.nvmrcand*.vsix. Adds.nvmrc(Node 24) andallowScriptsfor the npm 11 install-script gate.docs/releasing.md(one-time setup and the release flow) and a Releases rule inAGENTS.md.Before merging
Merging this publishes 1.1.0 right away. First:
VSCE_PATsecret (Azure DevOps PAT, scope Marketplace → Manage) for thestartfrompublisherstartfromnamespace on Open VSX and add theOVSX_PATsecretVerified locally
npm run check: 177 tests passedvsce packagebuilds a 91 KB VSIXminorchangeset:changeset versionbumped the version, wrote the changelog, and the release-notesawkpulled out the right section, including the 1.1.0 one🤖 Generated with Claude Code