Skip to content

Commit 43609ee

Browse files
author
Michael Ganss
committed
Deploy to GitHub releases
1 parent 0928b81 commit 43609ee

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

appveyor.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2.0.{build}
1+
version: 2.1.{build}
22
skip_tags: true
33
image: Visual Studio 2019
44
environment:
@@ -40,13 +40,14 @@ artifacts:
4040
- path: 'SyncChanges.Service\**\*.*nupkg'
4141
- path: SyncChanges.Console.%APPVEYOR_BUILD_VERSION%.zip
4242
- path: SyncChanges.Service.%APPVEYOR_BUILD_VERSION%.zip
43-
on_success:
44-
- ps: |
45-
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
46-
git config --global credential.helper store
47-
Add-Content -Path "$HOME\.git-credentials" -Value "https://$($env:access_token):x-oauth-basic@github.com`n" -NoNewline
48-
git config --global user.email "michael@ganss.org"
49-
git config --global user.name "Michael Ganss"
50-
git tag v$env:APPVEYOR_BUILD_VERSION
51-
git push origin --tags --porcelain
52-
}
43+
deploy:
44+
- provider: GitHub
45+
tag: v$(APPVEYOR_BUILD_VERSION)
46+
release: $(APPVEYOR_BUILD_VERSION)
47+
description: '$(APPVEYOR_REPO_COMMIT_MESSAGE)'
48+
auth_token:
49+
secure: Eq6BjtZ80BXKLwFMg76IjuQAvbLjbojIF/X/ARouGVhxPneJtgDfCXMPNgJ7KBKq
50+
artifact: /SyncChanges\..*\.zip/
51+
draft: true
52+
on:
53+
branch: master

0 commit comments

Comments
 (0)