Skip to content

Commit 8365b4e

Browse files
author
Michael Ganss
committed
Create GitHub release through AppVeyor
1 parent 61bffc5 commit 8365b4e

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

appveyor.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ artifacts:
3939
- path: 'xscgen\**\*.*nupkg'
4040
- path: 'xscgen-proj\**\*.*nupkg'
4141
- path: XmlSchemaClassGenerator.%APPVEYOR_BUILD_VERSION%.zip
42-
on_success:
43-
- ps: |
44-
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
45-
echo $PSVersionTable.PSVersion
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-
}
42+
deploy:
43+
- provider: GitHub
44+
tag: v$(APPVEYOR_BUILD_VERSION)
45+
release: $(APPVEYOR_BUILD_VERSION)
46+
description: '$(APPVEYOR_REPO_COMMIT_MESSAGE)'
47+
auth_token:
48+
secure: Eq6BjtZ80BXKLwFMg76IjuQAvbLjbojIF/X/ARouGVhxPneJtgDfCXMPNgJ7KBKq
49+
artifact: /XmlSchemaClassGenerator\..*\.zip/
50+
draft: true
51+
on:
52+
branch: master

0 commit comments

Comments
 (0)