simple capacitor project releasing tool for the semantic versioning schema.
It modifies the following project files:
-
package.json
by changing thepackage.version
to the new versionnumber -
android/app/build.gradle
by incrementing theversionCode
and changing theversionName
to the new versionnumber.
npm i -g capreleaser
cd /path/to/project
capreleaser <RELEASETYPE>
flag | description |
---|---|
-M or --major
|
major release X.0.0
|
-m or --minor
|
minor release 0.X.0
|
-p or --patch
|
patch release 0.0.X
|
- [ ] update ios-version
- [ ] update electron-version