We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1844d commit dde65b4Copy full SHA for dde65b4
gulp.d/tasks/release.js
@@ -75,7 +75,7 @@ function addVersionEntry (file, tagName, contents = Buffer.alloc(0)) {
75
return file
76
}
77
78
-module.exports = (dest, bundleName, owner, repo, ref, token, updateBranch) => async () => {
+module.exports = (dest, bundleName, owner, repo, ref = 'refs/heads/main', token, updateBranch) => async () => {
79
const octokit = new Octokit({ auth: `token ${token}` })
80
let variant = ref.replace(/^refs\/heads\//, '')
81
if (variant === 'main') variant = 'prod'
0 commit comments