-
Notifications
You must be signed in to change notification settings - Fork 0
Publishing the plugin
To certify as published and natively supported in Sketch, the plugin needs to be listed on https://www.sketchapp.com/extensions/plugins/ via a PR against the official plugin repo.
Make sure the repository field is set in your package.json
:
...
+ "repository": "https://github.com/inthepocket/hubble-sketch-plugin",
...
If you're publishing for the first time and after the PR to the upstream Sketch plugin repo is merged, use:
# Replace with your Github access token (with permissions: `repo`)
$ npx skpm login <token>
$ npx skpm publish
skpm publish
will create a new release on your GitHub repository and create an appcast file in order for Sketch users to be notified of the update.
👉 Make sure you are always releasing on the master branch and use skpm or the provided run-tasks.
An npm run-task is provided to automate releasing a new version of the plugin. You should update according to the appropriate semver level:
$ npm run release:minor
This will automatically create a new tag, and an update will be available in Sketch or via Sketch Runner.