Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
zivillian committed Nov 19, 2019
1 parent 87b3d12 commit 020a372
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 020a372

Please sign in to comment.