Skip to content

Commit

Permalink
update appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
Courio-Dev committed Oct 2, 2018
1 parent 3dbfd2b commit b2a31ec
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ os: Previous Visual Studio 2017
branches:
# whitelist
only:
- /^release\/v\d+\.\d+(\.\d+)?(-\S*)?$/
- /^master$/
- /v\d+\.\d+\.\d+/
except:
- master
- develop

clone_depth: 1

Expand Down Expand Up @@ -115,13 +117,13 @@ artifacts:
deploy:
- provider: GitHub
release: 'Release $(APPVEYOR_REPO_TAG_NAME) build $(APPVEYOR_BUILD_VERSION)'
tag: $(APPVEYOR_REPO_TAG_NAME)
description: '[**CHANGE LOG**](https://github.com/courio-dev/$(APPVEYOR_REPO_TAG_NAME)/blob/master/HISTORY.md)'
prerelease: $(IsPreRelease)
artifact: Zip, NuGet
auth_token: $(GITHUB_TOKEN)
draft: false
prerelease: $(IsPreRelease)
force_update: true
tag: $(APPVEYOR_REPO_TAG_NAME)
auth_token: $(GITHUB_TOKEN)
on:
appveyor_repo_tag: true
# Deploying to MyGet feed
Expand All @@ -140,12 +142,16 @@ deploy:
name: production
api_key:
secure: hd7kH5D5DJr+IpC+9zAklVm9r5Pm0Ku0RbMaA7DmReouBhExmFBPTVe+rWtl9zRa
artifact: NuGet
skip_symbols: true
draft: false
prerelease: $(IsPreRelease)
force_update: true
tag: $(APPVEYOR_REPO_TAG_NAME)
on:
# Only publish if the trigger was a Git tag
# git tag v0.1.0-beta
# git push origin --tags
branch: /master|v\d+\.\d+\.\d+[.*]/
APPVEYOR_REPO_TAG: true

# scripts to run before deployment
Expand Down Expand Up @@ -179,4 +185,4 @@ on_failure:

cache:
- tools -> build.cake
- packages -> build.cake
- packages -> build.cake

0 comments on commit b2a31ec

Please sign in to comment.