Only publish janky master builds

This commit is contained in:
Kevin Sawicki
2014-06-13 15:25:21 -07:00
parent 858e7b62a3
commit dc323348b7

View File

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