From 966d0706c43ada0e963af33bdf2b00433d2a70fc Mon Sep 17 00:00:00 2001 From: Gary Cheung Date: Wed, 30 Oct 2024 06:43:58 -0700 Subject: [PATCH] debug branchName --- gulp.d/tasks/release.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulp.d/tasks/release.js b/gulp.d/tasks/release.js index 532d6f47c..cf84fe987 100644 --- a/gulp.d/tasks/release.js +++ b/gulp.d/tasks/release.js @@ -241,7 +241,10 @@ const getRef = async (githubConfig, tagName) => { } const headsify = (branchName) => `heads/${branchName}` -const isPR = (branchName) => branchName.toLowerCase().startsWith('pr-') +const isPR = (branchName) => { + console.log(branchName) + branchName.toLowerCase().startsWith('pr-') +} const normalizeOffset = async (offset, offsetIsZero = true) => { if (offsetIsZero) return '+0000'