prettier-browser-extension
prettier-browser-extension copied to clipboard
Add scripts for updating the version
It should
- update the version (patch, minor, major) in
package.jsonandmanifest.json - commit the changes
- create a new tag with that version
- push the changes to GitHub
The first three are built into yarn version. Then you just need to push with your preferred git client.
but not the manifest.json.. We need have scripts like:
yarn release:patch
yarn release:minor
yarn release:major
Ah I misunderstood, good point. I wonder if we can hook onto these scripts like with postinstall. Also Mozilla's web-ext tool may help automate this, otherwise it's not too difficult to edit a JSON file with Node scripts.
Nothing fancy.. my idea was to have node scripts anyway.
This is how I’m syncing package.json version with manifest, https://github.com/felixmosh/10bis-chrome-extension/blob/master/webpack.config.js#L109 maybe can be helpful