From 94b9fbe29a6f15f42deba6bf116244a82501a07e Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Fri, 10 May 2019 10:05:45 +0200 Subject: [PATCH] Yet another attempt to fix the build. Signed-off-by: Akos Kitta --- azure-pipelines.yml | 3 ++- electron/packager/index.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 990b2831..1f178231 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -32,6 +32,7 @@ jobs: - script: yarn env: GITHUB_TOKEN: $(Personal.GitHub.Token) + THEIA_ELECTRON_SKIP_REPLACE_FFMPEG: 1 displayName: Build - bash: | yarn --cwd ./electron/packager/ @@ -59,7 +60,7 @@ jobs: vmImage: ubuntu-16.04 dependsOn: - Build - condition: and(in(variables['Build.Reason'], 'Manual', 'Schedule'), startsWith(variables['Release.Tag'], 'v')) + condition: and(succeeded(), and(in(variables['Build.Reason'], 'Manual', 'Schedule'), startsWith(variables['Release.Tag'], 'v'))) steps: - task: DownloadBuildArtifacts@0 displayName: Download diff --git a/electron/packager/index.js b/electron/packager/index.js index b9bb22a5..dbb1c5c5 100644 --- a/electron/packager/index.js +++ b/electron/packager/index.js @@ -5,6 +5,7 @@ const fs = require('fs'); const join = require('path').join; const shell = require('shelljs'); + shell.env.THEIA_ELECTRON_SKIP_REPLACE_FFMPEG = '1'; const utils = require('./utils'); const { version, release } = utils.versionInfo();