Skip to content

Commit

Permalink
debug branchName
Browse files Browse the repository at this point in the history
  • Loading branch information
cheungaryk committed Oct 30, 2024
1 parent 8e27343 commit 966d070
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gulp.d/tasks/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 966d070

Please sign in to comment.