From 97e7d24f43997c5f5b5c7ceac8eddf5d0f0a6aa8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 12 Sep 2014 13:21:11 -0700 Subject: [PATCH] Add missing task helpers require --- build/tasks/publish-build-task.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/tasks/publish-build-task.coffee b/build/tasks/publish-build-task.coffee index d5f1284c0..db7e95c98 100644 --- a/build/tasks/publish-build-task.coffee +++ b/build/tasks/publish-build-task.coffee @@ -60,12 +60,15 @@ getAssets = -> when 'linux' buildDir = grunt.config.get('atom.buildDir') sourcePath = fs.listSync(buildDir, ['.deb'])[0] - if process.arch is 'ia32' + if process.arch is 'ia32g' arch = 'i386' else arch = 'amd64' assetName = "atom-#{arch}.deb" + + {cp} = require('./task-helpers')(grunt) cp sourcePath, path.join(buildDir, assetName) + [ {assetName, sourcePath} ]