-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Ganss
committed
Apr 29, 2021
1 parent
0928b81
commit 43609ee
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version: 2.0.{build} | ||
version: 2.1.{build} | ||
skip_tags: true | ||
image: Visual Studio 2019 | ||
environment: | ||
|
@@ -40,13 +40,14 @@ artifacts: | |
- path: 'SyncChanges.Service\**\*.*nupkg' | ||
- path: SyncChanges.Console.%APPVEYOR_BUILD_VERSION%.zip | ||
- path: SyncChanges.Service.%APPVEYOR_BUILD_VERSION%.zip | ||
on_success: | ||
- ps: | | ||
if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { | ||
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: /SyncChanges\..*\.zip/ | ||
draft: true | ||
on: | ||
branch: master |