From 020a372d7ab545b5f31dc8ad2885a01b0aecc766 Mon Sep 17 00:00:00 2001 From: Bianco Veigel Date: Tue, 19 Nov 2019 18:29:04 +0100 Subject: [PATCH] update build --- appveyor.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 44e2037..780d0c2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,39 +5,33 @@ branches: only: - master skip_tags: true -image: Visual Studio 2017 +image: Ubuntu1804 configuration: Release platform: Any CPU -clone_script: -- ps: >- - if(-not $env:appveyor_pull_request_number) { - git clone -q --branch=$env:appveyor_repo_branch https://github.com/$env:appveyor_repo_name.git $env:appveyor_build_folder - git checkout -qf $env:appveyor_repo_commit - } else { - git clone -q https://github.com/$env:appveyor_repo_name.git $env:appveyor_build_folder - git fetch -q origin +refs/pull/$env:appveyor_pull_request_number/merge: - git checkout -qf FETCH_HEAD - } - git submodule --quiet update --init --recursive dotnet_csproj: patch: true file: '**\ommstats.csproj' version: '{version}' + version_prefix: '{version}' package_version: '{version}' assembly_version: '{version}' file_version: '{version}' informational_version: '{version}' +install: +- sh: >- + cd $APPVEYOR_BUILD_FOLDER + git submodule update --init --recursive build_script: -- cmd: dotnet publish -c %CONFIGURATION% +- sh: dotnet publish -c $CONFIGURATION artifacts: -- path: src\ommstats\bin\$(configuration)\netcoreapp2.1\publish +- path: src\ommstats\bin\Release\netcoreapp3.0\publish name: gh-release deploy: - provider: GitHub tag: v$(appveyor_build_version) release: v$(appveyor_build_version) auth_token: - secure: yL6am9X6fH3tkMyXORFGKmkIknr6w+QNBo6wZ9TwGP9RE5iJ5VAUK6IuMvKNBWbb + secure: RcHNjuAh+92p+kAT8mfzoPN9sGS7U+hf4HGddfDGDoJVlgsSn7qcroHTrsJp1VMk artifact: gh-release draft: true force_update: true