Skip to content

Commit b2a31ec

Browse files
committed
update appveyor
1 parent 3dbfd2b commit b2a31ec

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.appveyor.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ os: Previous Visual Studio 2017
1515
branches:
1616
# whitelist
1717
only:
18-
- /^release\/v\d+\.\d+(\.\d+)?(-\S*)?$/
19-
- /^master$/
18+
- /v\d+\.\d+\.\d+/
19+
except:
20+
- master
21+
- develop
2022

2123
clone_depth: 1
2224

@@ -115,13 +117,13 @@ artifacts:
115117
deploy:
116118
- provider: GitHub
117119
release: 'Release $(APPVEYOR_REPO_TAG_NAME) build $(APPVEYOR_BUILD_VERSION)'
118-
tag: $(APPVEYOR_REPO_TAG_NAME)
119120
description: '[**CHANGE LOG**](https://github.com/courio-dev/$(APPVEYOR_REPO_TAG_NAME)/blob/master/HISTORY.md)'
120-
prerelease: $(IsPreRelease)
121121
artifact: Zip, NuGet
122-
auth_token: $(GITHUB_TOKEN)
123122
draft: false
123+
prerelease: $(IsPreRelease)
124124
force_update: true
125+
tag: $(APPVEYOR_REPO_TAG_NAME)
126+
auth_token: $(GITHUB_TOKEN)
125127
on:
126128
appveyor_repo_tag: true
127129
# Deploying to MyGet feed
@@ -140,12 +142,16 @@ deploy:
140142
name: production
141143
api_key:
142144
secure: hd7kH5D5DJr+IpC+9zAklVm9r5Pm0Ku0RbMaA7DmReouBhExmFBPTVe+rWtl9zRa
145+
artifact: NuGet
143146
skip_symbols: true
147+
draft: false
148+
prerelease: $(IsPreRelease)
149+
force_update: true
150+
tag: $(APPVEYOR_REPO_TAG_NAME)
144151
on:
145152
# Only publish if the trigger was a Git tag
146153
# git tag v0.1.0-beta
147154
# git push origin --tags
148-
branch: /master|v\d+\.\d+\.\d+[.*]/
149155
APPVEYOR_REPO_TAG: true
150156

151157
# scripts to run before deployment
@@ -179,4 +185,4 @@ on_failure:
179185

180186
cache:
181187
- tools -> build.cake
182-
- packages -> build.cake
188+
- packages -> build.cake

0 commit comments

Comments
 (0)