@axway/axway-central-cli 2.9.4 → 2.10.0-rc.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.
|
@@ -136,8 +136,8 @@ const getLatestAgentVersion = async agent => {
|
|
|
136
136
|
} // find the largest tag
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
const [pMajor, pMinor, pPatch] = prev.split('.');
|
|
140
|
-
const [cMajor, cMinor, cPatch] = current.split('.');
|
|
139
|
+
const [pMajor, pMinor, pPatch] = prev.split('.').map(Number);
|
|
140
|
+
const [cMajor, cMinor, cPatch] = current.split('.').map(Number);
|
|
141
141
|
|
|
142
142
|
if (cMajor > pMajor) {
|
|
143
143
|
return current;
|
|
@@ -94,12 +94,8 @@ CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
|
94
94
|
{{#compare . centralConfig.region "EU"}}
|
|
95
95
|
CENTRAL_URL={{centralConfig.url}}
|
|
96
96
|
CENTRAL_DEPLOYMENT={{centralConfig.deployment}}
|
|
97
|
-
{{#if traceabilityConfig.enabled}}
|
|
98
97
|
|
|
99
98
|
TRACEABILITY_HOST={{traceabilityConfig.host}}
|
|
100
|
-
{{else}}
|
|
101
|
-
|
|
102
|
-
{{/if}}
|
|
103
99
|
{{/compare}}
|
|
104
100
|
{{#compare . centralConfig.region "US"}}
|
|
105
101
|
|
|
@@ -89,12 +89,8 @@ CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
|
89
89
|
{{#compare . centralConfig.region "EU"}}
|
|
90
90
|
CENTRAL_URL={{centralConfig.url}}
|
|
91
91
|
CENTRAL_DEPLOYMENT={{centralConfig.deployment}}
|
|
92
|
-
{{#if traceabilityConfig.enabled}}
|
|
93
92
|
|
|
94
93
|
TRACEABILITY_HOST={{traceabilityConfig.host}}
|
|
95
|
-
{{else}}
|
|
96
|
-
|
|
97
|
-
{{/if}}
|
|
98
94
|
{{/compare}}
|
|
99
95
|
{{#compare . centralConfig.region "US"}}
|
|
100
96
|
|
|
@@ -130,12 +130,11 @@ CENTRAL_TEAM={{centralConfig.ampcTeamName}}
|
|
|
130
130
|
{{#compare . centralConfig.region "EU"}}
|
|
131
131
|
CENTRAL_URL={{centralConfig.url}}
|
|
132
132
|
CENTRAL_DEPLOYMENT={{centralConfig.deployment}}
|
|
133
|
-
{{#if traceabilityConfig.enabled}}
|
|
134
133
|
|
|
135
134
|
TRACEABILITY_HOST={{traceabilityConfig.host}}
|
|
136
|
-
{{
|
|
135
|
+
{{/compare}}
|
|
136
|
+
{{#compare . centralConfig.region "US"}}
|
|
137
137
|
|
|
138
|
-
{{/if}}
|
|
139
138
|
{{/compare}}
|
|
140
139
|
{{#if traceabilityConfig.enabled}}
|
|
141
140
|
{{#compare . traceabilityConfig.protocol "https"}}
|