Skip to content

Commit

Permalink
Create GitHub release through AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ganss committed Apr 9, 2021
1 parent 61bffc5 commit 8365b4e
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ artifacts:
- path: 'xscgen\**\*.*nupkg'
- path: 'xscgen-proj\**\*.*nupkg'
- path: XmlSchemaClassGenerator.%APPVEYOR_BUILD_VERSION%.zip
on_success:
- ps: |
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
echo $PSVersionTable.PSVersion
git config --global credential.helper store
Add-Content -Path "$HOME\.git-credentials" -Value "https://$($env:access_token):[email protected]`n" -NoNewline
git config --global user.email "[email protected]"
git config --global user.name "Michael Ganss"
git tag v$env:APPVEYOR_BUILD_VERSION
git push origin --tags --porcelain
}
deploy:
- provider: GitHub
tag: v$(APPVEYOR_BUILD_VERSION)
release: $(APPVEYOR_BUILD_VERSION)
description: '$(APPVEYOR_REPO_COMMIT_MESSAGE)'
auth_token:
secure: Eq6BjtZ80BXKLwFMg76IjuQAvbLjbojIF/X/ARouGVhxPneJtgDfCXMPNgJ7KBKq
artifact: /XmlSchemaClassGenerator\..*\.zip/
draft: true
on:
branch: master

0 comments on commit 8365b4e

Please sign in to comment.