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.
Files changed (2) hide show
  1. package/index.js +4 -2
  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, use: product-VERSION
166
- ecrTag = `${product}-${localVersion}`;
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}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "haven-cypress-integration",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Seamless Cypress integration with HAVEN test case management",
5
5
  "main": "index.js",
6
6
  "bin": {