Skip to content

Commit 809686a

Browse files
committed
chore(INFRA-3037): preserve empty when passed from main script
1 parent 90a8a6a commit 809686a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/scripts/update-release-changelog.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# 3. repository_url - Full HTTPS URL for the invoking repository.
1111
#
1212
# Optional arguments:
13-
# 4. previous_version_ref - Previous version reference (branch/tag/SHA). Defaults to literal "null"
14-
# so that commits.csv generation is skipped, matching hotfix behaviour.
13+
# 4. previous_version_ref - Previous version reference (branch/tag/SHA).
14+
# If set to "null", it indicates a hotfix (no test plan).
1515
# 5. changelog_branch - Specific name for the changelog branch. If not provided, it will be
1616
# determined automatically (checking for existing release/ or chore/ branches).
1717
# 6. version - The semantic version (e.g., 6.20.0). If not provided, it will be
@@ -33,7 +33,7 @@ source "${SCRIPT_DIR}/utils.sh"
3333
RELEASE_BRANCH="${1:?release branch is required}"
3434
PLATFORM="${2:-extension}"
3535
REPOSITORY_URL="${3:?repository url is required}"
36-
PREVIOUS_VERSION_REF="${4:-null}"
36+
PREVIOUS_VERSION_REF="${4:-}"
3737
CHANGELOG_BRANCH_INPUT="${5:-}"
3838
VERSION_INPUT="${6:-}"
3939

0 commit comments

Comments
 (0)