You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revise Capgo integration and Codemagic configuration (#3315)
* Revise Capgo integration and Codemagic configuration
Updated Capgo integration instructions to include automatic and manual modes for configuration. Modified scripts for Codemagic to reflect changes in the upload process.
* Update capgo-integration.md
* Update capgo-integration.md
---------
Co-authored-by: Nihal Agazade <43378371+icarusdust@users.noreply.github.com>
Add the following scripts to your `codemagic.yaml` file to:
59
-
- install the **capacitor-updater**
60
-
- update dependencies and copy assets to native project
61
74
- upload your project to Capgo
62
75
76
+
Ensure you first install your dependencies and build your JS:
77
+
63
78
{{< highlight yaml "style=paraiso-dark">}}
64
79
scripts:
65
-
- name: Install npm dependencies for Ionic project
66
-
script: |
67
-
npm install @capgo/capacitor-updater
68
-
npx @capgo/cli login $CAPGO_TOKEN
69
80
- name: Update dependencies and copy web assets to native project
70
81
script: |
71
82
npx cap sync
72
83
- name: Upload to Capgo
73
84
script: |
74
-
npx @capgo/cli add
75
-
npx @capgo/cli upload
85
+
npx @capgo/cli bundle upload --a $CAPGO_TOKEN
76
86
{{< /highlight >}}
77
87
78
88
79
89
When uploading app versions to **Capgo**, executing the following command will submit updates to all users (if production channel is set to public):
80
90
81
91
{{< highlight yaml "style=paraiso-dark">}}
82
-
npx @capgo/cli@latest upload -c production
92
+
npx @capgo/cli@latest bundle upload -c production
83
93
{{< /highlight >}}
84
94
85
95
As soon as users start installing app versions on their devices, a device list will be visible in the Capgo UI. You can choose any one of them in order to let specific groups of users know about updates shipped with version uploads.
0 commit comments