Skip to content

Commit 66e16bf

Browse files
committed
INFRA-2911-Skip generating commits.cvs for hotfixes
1 parent 24214ba commit 66e16bf

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/scripts/create-platform-release-pr.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,18 @@ set -e
2222
set -u
2323
set -o pipefail
2424

25+
# Log all positional arguments for debugging
26+
echo "Script called with arguments:"
27+
echo "1 (PLATFORM): $1"
28+
echo "2 (PREVIOUS_VERSION_REF): $2"
29+
echo "3 (NEW_VERSION): $3"
30+
echo "4 (NEW_VERSION_NUMBER): $4"
31+
echo "5 (GIT_USER_NAME): $5"
32+
echo "6 (GIT_USER_EMAIL): $6"
33+
2534
# Input validation
2635
PLATFORM="${1}"
27-
PREVIOUS_VERSION_REF="${2}"
36+
PREVIOUS_VERSION_REF="${2//[[:space:]]/}" # Trim whitespace
2837
NEW_VERSION="${3}"
2938
NEW_VERSION_NUMBER="${4:-}"
3039
GIT_USER_NAME="${5:-metamaskbot}"

0 commit comments

Comments
 (0)