From dc323348b737cfdd9f3aba79d24a42965193f6cb Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 13 Jun 2014 15:25:21 -0700 Subject: [PATCH] Only publish janky master builds --- build/tasks/publish-build-task.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/tasks/publish-build-task.coffee b/build/tasks/publish-build-task.coffee index e73c2b8d7..b0b030067 100644 --- a/build/tasks/publish-build-task.coffee +++ b/build/tasks/publish-build-task.coffee @@ -29,8 +29,7 @@ module.exports = (gruntObject) -> grunt = gruntObject grunt.registerTask 'publish-build', 'Publish the built app', -> - return unless process.platform is 'win32' - # return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'master' + return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'master' done = @async() buildDir = grunt.config.get('atom.buildDir')