-
-
Notifications
You must be signed in to change notification settings - Fork 3
Releasing
Stefan Kapferer edited this page Jun 4, 2020
·
5 revisions
To prepare a release follow these steps:
- Ensure you are on the master branch and it is up-to-date (you pulled all changes).
- Update the extension version (package.json) to the release version you want to release.
- You can call
gradlew updateVersion -PnewVersion=x.y.z
(replace x.y.z with the release version)
- You can call
- Run npmInstall via the following command
gradlew clean snapshot npmInstall
(changes package-lock.json) - Commit the change:
-
git commit -a -m "Release vx.y.z"
(replace x.y.z with the release version)
-
- Tag the release commit:
-
git tag vx.y.z
(replace x.y.z with the release version)
-
- Update the extension version (package.json) to the next snapshot version:
- You can call
gradlew updateVersion -PnewVersion=x.y.z-SNAPSHOT
- You can call
- Run npmInstall via the following command
gradlew clean snapshot npmInstall
(changes package-lock.json) - Commit the change:
git commit -a -m "Prepare version for next development iteration"
- Push your commits:
-
git push origin master --tags
(This command will trigger the publication of the release on Travis!)
-
Follow the steps above the prepare publish a release. The build process (version tag) on Travis will automatically publish the release to the marketplace.