Document version bumping / release process
See original GitHub issueIt was suggested that the mechanism for bumping a package version is to do pnpx changeset
and follow the prompts to generate a changeset. I added that to the README, but still have significant confusion.
I ran it and it added a file to the .changeset
directory. Ok, now what?
The pnpx changeset
command had said:
🦋 The following packages will be patch bumped: 🦋 @sveltejs/snowpack-config@1.0.0-next.2
But I don’t really understand when or where that happens. The command changed nothing except adding a file to the .changeset
directory and there’s no indication of what might consume that file. I saw Rich’s commits were also bumping the package.json
, but I’m not sure how that happened. Was there another command to run or did he do it manually?
I followed up by bumping the version manually. I’m still not sure what to do from here though. Do I need to bug @Rich-Harris to cut a new release? Is there anyone else who can do it?
I’m facing three different things that are broken right now in SvelteKit and it’s super frustrating that there doesn’t seem to be anything I can do to get fixes out. Maybe we could have GitHub Actions automatically publish changes or expand the set of people who can publish SvelteKit?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
According to npm…
https://docs.npmjs.com/requiring-2fa-for-package-publishing-and-settings-modification:
https://docs.npmjs.com/creating-and-viewing-access-tokens:
So an automation token should skip 2FA.
Oh.
I think so, yeah. It seems to be ‘how it’s done’ so I assume smarter people than me have thought about it and decided it’s okay.
https://github.com/sveltejs/kit/pull/417