Restore publish checks

This commit is contained in:
Kevin Sawicki 2014-07-05 11:28:56 -07:00
parent e1945fce14
commit 0f01840e3e

View File

@ -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)