From efe3d652911d20f1bdcac810146c528025d21dae Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 21 Oct 2014 14:11:06 -0700 Subject: [PATCH] Only upload on master --- build/tasks/publish-build-task.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tasks/publish-build-task.coffee b/build/tasks/publish-build-task.coffee index faeaeefa5..d7a3b8139 100644 --- a/build/tasks/publish-build-task.coffee +++ b/build/tasks/publish-build-task.coffee @@ -22,7 +22,7 @@ module.exports = (gruntObject) -> grunt.registerTask 'publish-build', 'Publish the built app', -> tasks = [] tasks.push('build-docs', 'prepare-docs') if process.platform is 'darwin' - tasks.push('upload-assets') if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'master' + tasks.push('upload-assets') if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH is 'master' grunt.task.run(tasks) grunt.registerTask 'prepare-docs', 'Move api.json to atom-api.json', ->