File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
.github/actions/core-cicd/deployment/deploy-javascript-sdk Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 33# DUAL PUBLISHING BEHAVIOR:
44# LATEST TAG:
55# - If current version contains "alpha" or "beta" -> publishes 1.0.0
6- # - If stable version exists -> only publishes on explicit version-type (minor/major/custom)
7- # - Patch versions -> skips latest publishing (only publishes to next)
8- # - Auto mode with stable version -> skips latest publishing
6+ # - If stable version exists -> publishes on explicit version-type (patch/minor/major/custom)
7+ # - Auto mode with stable version -> skips latest publishing (no version change)
98#
109# NEXT TAG:
1110# - Always publishes with "-next.X" suffix where X increments
@@ -351,10 +350,6 @@ runs:
351350 echo "🚫 No version change detected for latest tag (${CURRENT_VERSION} → ${NEXT_VERSION})"
352351 echo " Skipping latest publishing since version-type is 'auto' and no increment is needed."
353352 SHOULD_PUBLISH_LATEST="false"
354- elif [ "$VERSION_TYPE_USED" = "patch" ]; then
355- echo "🚫 Patch version detected (${CURRENT_VERSION} → ${NEXT_VERSION})"
356- echo " Skipping latest publishing for patch versions - only publishing to next tag."
357- SHOULD_PUBLISH_LATEST="false"
358353 else
359354 echo "✅ Version will be updated for latest tag (${CURRENT_VERSION} → ${NEXT_VERSION})"
360355 SHOULD_PUBLISH_LATEST="true"
@@ -657,4 +652,4 @@ runs:
657652 echo "✅ Outputs set:"
658653 echo " published: $PUBLISHED"
659654 echo " npm_package_version: $NPM_PACKAGE_VERSION"
660- shell : bash
655+ shell : bash
You can’t perform that action at this time.
0 commit comments