Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
gulp.task("env:set-release", function(cb) {
gitDescribe(__dirname, { match: null }).then(function(gitInfo) {
var release = gitInfo.semverString;
if (!release) {
throw Error("Unable to determine release");
}
gutil.log("Setting JOUST_RELEASE to", gutil.colors.green(release));
process.env.JOUST_RELEASE = release;
cb();
});
});