Skip to content

Easily upgrade your Capacitor android applications from one version to another 🚀

Notifications You must be signed in to change notification settings

tobika/capacitor-cli-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Capacitor CLI diff for @capacitor/android

This repository exposes an Capacitor CLI app generated with npx cap init and npx add android with each version of Capacitor CLI.

A dedicated branch per version makes changes very easy to watch. For example:

See table below for the complete list.

Note that this is inspired and the script heavily copied from Angular CLI diff.

Version changes

Version Compare view Stats
3.0.0-beta.3 3.0.0-beta.2...3.0.0-beta.3 1 file changed, 3 insertions(+), 3 deletions(-)
3.0.0-beta.2 3.0.0-beta.1...3.0.0-beta.2 3 files changed, 13 insertions(+), 16 deletions(-)
3.0.0-beta.1 3.0.0-beta.0...3.0.0-beta.1 1 file changed, 3 insertions(+), 3 deletions(-)
3.0.0-beta.0 2.4.6...3.0.0-beta.0 13 files changed, 60 insertions(+), 87 deletions(-)
2.4.6 2.4.5...2.4.6 1 file changed, 3 insertions(+), 3 deletions(-)
2.4.5 2.4.4...2.4.5 1 file changed, 3 insertions(+), 3 deletions(-)
2.4.4 2.4.3...2.4.4 2 files changed, 5 insertions(+), 3 deletions(-)
2.4.3 2.4.2...2.4.3 2 files changed, 3 insertions(+), 5 deletions(-)
2.4.2 2.4.1...2.4.2 1 file changed, 3 insertions(+), 3 deletions(-)
2.4.1 2.4.0...2.4.1 1 file changed, 3 insertions(+), 3 deletions(-)
2.4.0 2.3.0...2.4.0 1 file changed, 3 insertions(+), 3 deletions(-)
2.3.0 2.2.1...2.3.0 2 files changed, 4 insertions(+), 3 deletions(-)
2.2.1 2.2.0...2.2.1 5 files changed, 89 insertions(+), 49 deletions(-)
2.2.0 2.1.2...2.2.0 1 file changed, 3 insertions(+), 3 deletions(-)
2.1.2 2.1.1...2.1.2 1 file changed, 3 insertions(+), 3 deletions(-)
2.1.1 2.1.0...2.1.1 1 file changed, 3 insertions(+), 3 deletions(-)
2.1.0 2.0.2...2.1.0 1 file changed, 3 insertions(+), 3 deletions(-)
2.0.2 2.0.1...2.0.2 1 file changed, 3 insertions(+), 3 deletions(-)
2.0.1 2.0.0...2.0.1 1 file changed, 3 insertions(+), 3 deletions(-)
2.0.0 1.5.3...2.0.0 11 files changed, 45 insertions(+), 29 deletions(-)
1.5.3 1.5.2...1.5.3 1 file changed, 3 insertions(+), 3 deletions(-)
1.5.2 1.5.1...1.5.2 1 file changed, 3 insertions(+), 3 deletions(-)
1.5.1 1.5.0...1.5.1 1 file changed, 3 insertions(+), 3 deletions(-)
1.5.0 1.4.0...1.5.0 1 file changed, 3 insertions(+), 3 deletions(-)
1.4.0 1.3.0...1.4.0 1 file changed, 3 insertions(+), 3 deletions(-)
1.3.0 1.2.1...1.3.0 3 files changed, 6 insertions(+), 6 deletions(-)
1.2.1 1.2.0...1.2.1 1 file changed, 3 insertions(+), 3 deletions(-)
1.2.0 1.1.1...1.2.0 1 file changed, 3 insertions(+), 3 deletions(-)
1.1.1 1.1.0...1.1.1 6 files changed, 3 insertions(+), 3 deletions(-)
1.1.0 1.0.0...1.1.0 7 files changed, 23 insertions(+), 4 deletions(-)
1.0.0 1.0.0...1.0.0 57 files changed, 882 insertions(+)

Why this repository ?

After an upgrade of @capacitor/core and @capacitor/android on your project, you'll have to keep the configuration up-to-date, and it can be hard to keep track.

This project lets you easily know what changed. For example, from 1.5.3 to the 2.0.0.

Rebuild branches

If any change is made in master after initial build I have to rebuild everything from the beginning (too complex git actions for me to solve differently)

Delete all remote branches except master: git branch -r | grep origin/ | grep -v 'master$' | grep -v HEAD| cut -d/ -f2 | while read line; do git push origin :$line; done;

Local version: git branch | grep -v "master" | xargs git branch -D

Make changes in master (reset list in Readme.md) and append to the first single commit. Then run ./newVersion.sh

About

Easily upgrade your Capacitor android applications from one version to another 🚀

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published