Make sure you have the following dependencies installed first:
-
Install dependencies
yarn install --pure-lockfile
-
Build plugin in development mode or run in watch mode
yarn dev
or
yarn watch
-
Build plugin in production mode
yarn build
-
Build the backend binaries
mage -v
You need to have commit rights to the GitHub repository to publish a release.
-
Update the version number in the
package.json
file. -
Update the
CHANGELOG.md
with the changes contained in the release. -
Commit the changes to master and push to GitHub.
-
Create a tag locally that follows the convention v(major).(minor).(patch). For example:
git tag v3.3.0
-
Push the new tag to GitHub
git push origin master --tags
-
Follow the Drone release process that you can find here