@capgo/cli 4.3.3 → 4.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/channel/set.ts +1 -1
- package/src/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.3.4](https://github.com/Cap-go/CLI/compare/v4.3.3...v4.3.4) (2024-04-17)
|
|
6
|
+
|
|
5
7
|
### [4.3.3](https://github.com/Cap-go/CLI/compare/v4.3.2...v4.3.3) (2024-04-16)
|
|
6
8
|
|
|
7
9
|
### [4.3.2](https://github.com/Cap-go/CLI/compare/v4.3.1...v4.3.2) (2024-04-14)
|
package/dist/index.js
CHANGED
|
@@ -91634,7 +91634,7 @@ var {
|
|
|
91634
91634
|
// package.json
|
|
91635
91635
|
var package_default = {
|
|
91636
91636
|
name: "@capgo/cli",
|
|
91637
|
-
version: "4.3.
|
|
91637
|
+
version: "4.3.4",
|
|
91638
91638
|
description: "A CLI to upload to capgo servers",
|
|
91639
91639
|
main: "dist/index.js",
|
|
91640
91640
|
bin: {
|
|
@@ -95167,7 +95167,7 @@ async function deleteBundle(bundleId, appId, options) {
|
|
|
95167
95167
|
|
|
95168
95168
|
// src/channel/set.ts
|
|
95169
95169
|
var import_node_process23 = __toESM(require("node:process"));
|
|
95170
|
-
var disableAutoUpdatesPossibleOptions = ["major", "minor", "metadata", "none"];
|
|
95170
|
+
var disableAutoUpdatesPossibleOptions = ["major", "minor", "metadata", "patch", "none"];
|
|
95171
95171
|
async function setChannel(channel2, appId, options) {
|
|
95172
95172
|
oe(`Set channel`);
|
|
95173
95173
|
options.apikey = options.apikey || findSavedKey();
|
|
@@ -95734,7 +95734,7 @@ channel.command("add [channelId] [appId]").alias("a").description("Create channe
|
|
|
95734
95734
|
channel.command("delete [channelId] [appId]").alias("d").description("Delete channel").action(deleteChannel).option("-a, --apikey <apikey>", "apikey to link to your account");
|
|
95735
95735
|
channel.command("list [appId]").alias("l").description("List channel").action(listChannels).option("-a, --apikey <apikey>", "apikey to link to your account");
|
|
95736
95736
|
channel.command("currentBundle [channel] [appId]").description("Get current bundle for specific channel in Capgo Cloud").action(currentBundle).option("-c, --channel <channel>", "channel to get the current bundle from").option("-a, --apikey <apikey>", "apikey to link to your account").option("--quiet", "only print the bundle version");
|
|
95737
|
-
channel.command("set [channelId] [appId]").alias("s").description("Set channel").action(setChannel).option("-a, --apikey <apikey>", "apikey to link to your account").option("-b, --bundle <bundle>", "bundle version number of the file to set").option("-s, --state <state>", "set the state of the channel, default or normal").option("--latest", "get the latest version key in the package.json to set it to the channel").option("--downgrade", "Allow to downgrade to version under native one").option("--no-downgrade", "Disable downgrade to version under native one").option("--upgrade", "Allow to upgrade to version above native one").option("--no-upgrade", "Disable upgrade to version above native one").option("--ios", "Allow sending update to ios devices").option("--no-ios", "Disable sending update to ios devices").option("--android", "Allow sending update to android devices").option("--no-android", "Disable sending update to android devices").option("--self-assign", "Allow to device to self assign to this channel").option("--no-self-assign", "Disable devices to self assign to this channel").option("--disable-auto-update <disableAutoUpdate>", "Disable auto update strategy for this channel.The possible options are: major, minor, metadata, none");
|
|
95737
|
+
channel.command("set [channelId] [appId]").alias("s").description("Set channel").action(setChannel).option("-a, --apikey <apikey>", "apikey to link to your account").option("-b, --bundle <bundle>", "bundle version number of the file to set").option("-s, --state <state>", "set the state of the channel, default or normal").option("--latest", "get the latest version key in the package.json to set it to the channel").option("--downgrade", "Allow to downgrade to version under native one").option("--no-downgrade", "Disable downgrade to version under native one").option("--upgrade", "Allow to upgrade to version above native one").option("--no-upgrade", "Disable upgrade to version above native one").option("--ios", "Allow sending update to ios devices").option("--no-ios", "Disable sending update to ios devices").option("--android", "Allow sending update to android devices").option("--no-android", "Disable sending update to android devices").option("--self-assign", "Allow to device to self assign to this channel").option("--no-self-assign", "Disable devices to self assign to this channel").option("--disable-auto-update <disableAutoUpdate>", "Disable auto update strategy for this channel.The possible options are: major, minor, metadata, patch, none");
|
|
95738
95738
|
var key = program.command("key").description("Manage key");
|
|
95739
95739
|
key.command("save").description("Save base64 signing key in capacitor config, usefull for CI").action(saveKeyCommand).option("-f, --force", "force generate a new one").option("--key", "key path to save in capacitor config").option("--key-data", "key data to save in capacitor config");
|
|
95740
95740
|
key.command("create").description("Create a new signing key").action(createKeyCommand).option("-f, --force", "force generate a new one");
|
package/package.json
CHANGED
package/src/channel/set.ts
CHANGED
|
@@ -32,7 +32,7 @@ interface Options extends OptionsBase {
|
|
|
32
32
|
channel?: string
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
const disableAutoUpdatesPossibleOptions = ['major', 'minor', 'metadata', 'none']
|
|
35
|
+
const disableAutoUpdatesPossibleOptions = ['major', 'minor', 'metadata', 'patch', 'none']
|
|
36
36
|
|
|
37
37
|
export async function setChannel(channel: string, appId: string, options: Options) {
|
|
38
38
|
p.intro(`Set channel`)
|
package/src/index.ts
CHANGED
|
@@ -247,7 +247,7 @@ channel
|
|
|
247
247
|
.option('--no-android', 'Disable sending update to android devices')
|
|
248
248
|
.option('--self-assign', 'Allow to device to self assign to this channel')
|
|
249
249
|
.option('--no-self-assign', 'Disable devices to self assign to this channel')
|
|
250
|
-
.option('--disable-auto-update <disableAutoUpdate>', 'Disable auto update strategy for this channel.The possible options are: major, minor, metadata, none')
|
|
250
|
+
.option('--disable-auto-update <disableAutoUpdate>', 'Disable auto update strategy for this channel.The possible options are: major, minor, metadata, patch, none')
|
|
251
251
|
|
|
252
252
|
const key = program
|
|
253
253
|
.command('key')
|