Skip to content

Commit f860e05

Browse files
Update action.yml (#408)
### Proposed Changes * change 1 * change 2 ### Checklist - [ ] Tests - [ ] Translations - [ ] Security Implications Contemplated (add notes if applicable) ### Additional Info ** any additional useful context or info ** ### Screenshots Original | Updated :-------------------------:|:-------------------------: ** original screenshot ** | ** updated screenshot **
1 parent 111dfb7 commit f860e05

File tree

1 file changed

+3
-8
lines changed
  • .github/actions/core-cicd/deployment/deploy-javascript-sdk

1 file changed

+3
-8
lines changed

.github/actions/core-cicd/deployment/deploy-javascript-sdk/action.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
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

0 commit comments

Comments
 (0)