Fix tests and make Travis deploy scratch paperjs

This commit is contained in:
DD 2017-12-04 18:34:59 -05:00
parent 2d790a3f34
commit fd1435d94d
6 changed files with 54 additions and 35 deletions
gulp/utils

View file

@ -34,9 +34,10 @@ if (argv.branch && argv.branch !== options.branch) {
var version = options.version,
branch = options.branch;
// If we're not on the master branch, use the branch name as a suffix:
if (branch !== 'master')
options.version += '-' + branch;
// Take this out for now to reduce changes every build
// // If we're not on the master branch, use the branch name as a suffix:
// if (branch !== 'master')
// options.version += '-' + branch;
// Allow the removal of the suffix again, as needed by the publish task.
options.resetVersion = function() {