forked from mehtadone/CryptoGramBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (39 loc) · 1.25 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '0.3.{build}'
image: Visual Studio 2017
branches:
only:
- master
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
install:
# Install repo specific stuff here
before_build:
# Display .NET Core version
- cmd: dotnet --version
# Display minimal restore text
- cmd: dotnet restore ./CryptoGramBot/CryptoGramBot.csproj --verbosity m
build_script:
# output will be in ./src/bin/debug/netcoreapp1.1/publish
- cmd: dotnet publish --configuration release ./CryptoGramBot/CryptoGramBot.csproj
after_build:
# For once the build has completed
artifacts:
- path: '\CryptoGramBot\bin\Release\netcoreapp2.0\publish'
name: CryptoGramBot-v$(appveyor_build_version)
type: FolderProfile
clone_depth: 1
on_finish :
# any cleanup in here
deploy:
release: CryptoGramBot-v$(appveyor_build_version)
description: ''
provider: GitHub
auth_token:
secure: rMxVtVrce2Oh6Jf2V6c2FDAyJR4/L0ZFpxGl0ntx0g3cHwcqQvWvD4AW0VfIwFBs # your encrypted token from GitHub
artifact: /.*\.zip/ # upload all zip packages to release assets
draft: false
prerelease: true
on:
branch: master # release from master branch only
appveyor_repo_tag: false