From e3e07b6bfeafe740eb546f7e029f5a90ad08277d Mon Sep 17 00:00:00 2001 From: Matt Portune <59324545+mportune-bw@users.noreply.github.com> Date: Wed, 22 Apr 2020 10:54:58 -0400 Subject: [PATCH] Only publish to Google Play if master branch (#848) --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 0710f00ce..94f93d97d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -110,7 +110,7 @@ on_success: npm run deploy fi - ps: | - if($isWindows -and $env:PLAY_DEC_SECRET) { + if($isWindows -and $env:PLAY_DEC_SECRET -and $env:APPVEYOR_REPO_BRANCH -eq 'master') { secure-file\tools\secure-file -decrypt store\google\Publisher\play_creds.json.enc -secret $env:PLAY_DEC_SECRET cd store\google\Publisher\bin\Release\netcoreapp2.0 dotnet Publisher.dll `