From 0f01840e3e1afd61de9959e5483f72c0cbbcbc72 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Sat, 5 Jul 2014 11:28:56 -0700 Subject: [PATCH] Restore publish checks --- 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 669cc9c6b..61738b2f6 100644 --- a/build/tasks/publish-build-task.coffee +++ b/build/tasks/publish-build-task.coffee @@ -19,8 +19,7 @@ module.exports = (gruntObject) -> grunt = gruntObject grunt.registerTask 'publish-build', 'Publish the built app', -> - # return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'master' - return unless process.platform is 'win32' + return if process.env.JANKY_SHA1 and process.env.JANKY_BRANCH isnt 'master' tasks = ['upload-assets'] tasks.unshift('build-docs', 'prepare-docs') if process.platform is 'darwin' grunt.task.run(tasks)