haven-cypress-integration 1.2.0 → 1.2.1
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/index.js +4 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -162,8 +162,10 @@ class HavenCypressIntegration {
|
|
|
162
162
|
const buildNumber = process.env.BUILD_NUMBER || Date.now().toString().slice(-6);
|
|
163
163
|
ecrTag = `${product}-v1.0.${buildNumber}`;
|
|
164
164
|
} else {
|
|
165
|
-
// For custom versions,
|
|
166
|
-
|
|
165
|
+
// For custom versions, preserve semantic versioning exactly
|
|
166
|
+
// Ensure version starts with 'v' prefix for consistency
|
|
167
|
+
const versionTag = localVersion.startsWith('v') ? localVersion : `v${localVersion}`;
|
|
168
|
+
ecrTag = `${product}-${versionTag}`;
|
|
167
169
|
}
|
|
168
170
|
|
|
169
171
|
const fullEcrUri = `${ecrUri}:${ecrTag}`;
|