@adobe/aem-cli 16.5.19 → 16.6.0

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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [16.6.0](https://github.com/adobe/helix-cli/compare/v16.5.19...v16.6.0) (2024-09-02)
2
+
3
+
4
+ ### Features
5
+
6
+ * **up:** support urls with variables ([#2413](https://github.com/adobe/helix-cli/issues/2413)) ([3256d4a](https://github.com/adobe/helix-cli/commit/3256d4a2515ede2ce8977e470b05480b364494da))
7
+
1
8
  ## [16.5.19](https://github.com/adobe/helix-cli/compare/v16.5.18...v16.5.19) (2024-08-31)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/aem-cli",
3
- "version": "16.5.19",
3
+ "version": "16.6.0",
4
4
  "description": "AEM CLI",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/up.cmd.js CHANGED
@@ -86,6 +86,10 @@ export default class UpCommand extends AbstractServerCommand {
86
86
  }
87
87
  if (!this._url) {
88
88
  await this.verifyUrl(this._gitUrl, ref);
89
+ } else if (/\{\{(owner|repo)+\}\}/.test(this._url)) {
90
+ this._url = this._url
91
+ .replace(/\{\{owner\}\}/, this._gitUrl.owner)
92
+ .replace(/\{\{repo\}\}/, this._gitUrl.repo);
89
93
  }
90
94
  this._project.withProxyUrl(this._url);
91
95
  await this.initServerOptions();