From c260825629d76a4ea1e3fb57e455a816e37666bf Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 30 Apr 2018 14:10:20 -0700 Subject: [PATCH] appveyor: try to configure master/release branches separately --- .appveyor.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 75079f0b4..f9c1b93b7 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -58,6 +58,25 @@ build_script: artifacts: - path: hledger.zip +# overriding common configuration: +for: + +# settings specific to master branch +# master is set as default branch in UI, and built nightly by cron +- + branches: + only: + - master + +# settings specific to release branches +# release branches are built on tag push +- + branches: + only: + - /^[0-9.]+$/ + on: + appveyor_repo_tag: true + # deployment stuff # https://silky.github.io/posts/2016-01-05-build-windows-haskell-app-with-stack-and-appveyor.html