Skip to content

Commit

Permalink
Add log
Browse files Browse the repository at this point in the history
  • Loading branch information
zrgt committed Apr 18, 2024
1 parent 90f5101 commit c3f9c95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gulp.d/tasks/release.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict'

var log = require('gulplog');

Check failure on line 3 in gulp.d/tasks/release.js

View workflow job for this annotation

GitHub Actions / build

Extra semicolon
const File = require('vinyl')
const fs = require('node:fs')
const { promises: fsp } = fs
Expand Down Expand Up @@ -81,6 +82,7 @@ module.exports = (dest, bundleName, owner, repo, ref, token, updateBranch, lates
ref = ref.replace(/^refs\//, '')
const tagPrefix = `${variant}-`
const latestTagName = latestAlias === false ? undefined : `${tagPrefix}${latestAlias || 'latest'}`
log.info('Using gulpfile', ansi.magenta(tildify(env.configPath)));

Check failure on line 85 in gulp.d/tasks/release.js

View workflow job for this annotation

GitHub Actions / build

'ansi' is not defined

Check failure on line 85 in gulp.d/tasks/release.js

View workflow job for this annotation

GitHub Actions / build

'tildify' is not defined

Check failure on line 85 in gulp.d/tasks/release.js

View workflow job for this annotation

GitHub Actions / build

'env' is not defined

Check failure on line 85 in gulp.d/tasks/release.js

View workflow job for this annotation

GitHub Actions / build

Extra semicolon
const tagName = `${tagPrefix}${await getNextReleaseNumber({ octokit, owner, repo, tagPrefix, latestTagName })}`
const message = `Release ${tagName}`
const bundleFileBasename = `${bundleName}-bundle.zip`
Expand Down

0 comments on commit c3f9c95

Please sign in to comment.