This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
The following commit(s) were added to refs/heads/master by this push:
new a4e3ba3 fix: cli 12 requires platform name w/ cordova run --list
(#258)
a4e3ba3 is described below
commit a4e3ba33cf59a0b2dfb57c4c70da08877abcc179
Author: エリス <[email protected]>
AuthorDate: Fri Jun 2 10:52:14 2023 +0900
fix: cli 12 requires platform name w/ cordova run --list (#258)
* fix: cli 12 requires platform name w/ cordova run --list
* ci: test if target accepts regex
---
conf/pr/local/ios-13.x.config.json | 2 +-
conf/pr/local/ios-14.x.config.json | 2 +-
conf/pr/local/ios-15.x.config.json | 2 +-
lib/utils/utilities.js | 1 +
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/conf/pr/local/ios-13.x.config.json
b/conf/pr/local/ios-13.x.config.json
index 8923907..caaf270 100644
--- a/conf/pr/local/ios-13.x.config.json
+++ b/conf/pr/local/ios-13.x.config.json
@@ -2,6 +2,6 @@
"platform": "ios@latest",
"action": "run",
"cleanUpAfterRun": true,
- "target": "iPhone-11, 13.7",
+ "target": "^iPhone-11, 13.\\d$",
"verbose": true
}
diff --git a/conf/pr/local/ios-14.x.config.json
b/conf/pr/local/ios-14.x.config.json
index 8275e1d..dc0520f 100644
--- a/conf/pr/local/ios-14.x.config.json
+++ b/conf/pr/local/ios-14.x.config.json
@@ -2,6 +2,6 @@
"platform": "ios@latest",
"action": "run",
"cleanUpAfterRun": true,
- "target": "iPhone-12, 14.4",
+ "target": "^iPhone-12, 14.\\d$",
"verbose": true
}
diff --git a/conf/pr/local/ios-15.x.config.json
b/conf/pr/local/ios-15.x.config.json
index b0bedd9..1755e3d 100644
--- a/conf/pr/local/ios-15.x.config.json
+++ b/conf/pr/local/ios-15.x.config.json
@@ -2,6 +2,6 @@
"platform": "ios@latest",
"action": "run",
"cleanUpAfterRun": true,
- "target": "iPhone-13, 15.0",
+ "target": "^iPhone-13, 15.\\d$",
"verbose": true
}
diff --git a/lib/utils/utilities.js b/lib/utils/utilities.js
index a0224d2..744c11a 100644
--- a/lib/utils/utilities.js
+++ b/lib/utils/utilities.js
@@ -69,6 +69,7 @@ function getSimulatorModelId (cli, target) {
const args = [
'run',
+ 'ios',
'--list',
'--emulator'
].concat(module.exports.PARAMEDIC_COMMON_ARGS);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]