-
Notifications
You must be signed in to change notification settings - Fork 181
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
Jul 2, 2018
1 parent
2ff4b0b
commit 19d7528
Showing
1 changed file
with
10 additions
and
0 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,6 +1,9 @@ | ||
version: 2.0.{build} | ||
skip_tags: true | ||
image: Visual Studio 2017 Preview | ||
environment: | ||
access_token: | ||
secure: Eq6BjtZ80BXKLwFMg76IjuQAvbLjbojIF/X/ARouGVhxPneJtgDfCXMPNgJ7KBKq | ||
build_script: | ||
- ps: (Get-Content XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content XmlSchemaClassGenerator\XmlSchemaClassGenerator.csproj | ||
- ps: (Get-Content XmlSchemaClassGenerator.Console\XmlSchemaClassGenerator.Console.csproj).Replace("1.0.0-VERSION", $env:APPVEYOR_BUILD_VERSION) | Set-Content XmlSchemaClassGenerator.Console\XmlSchemaClassGenerator.Console.csproj | ||
|
@@ -25,3 +28,10 @@ artifacts: | |
- path: 'XmlSchemaClassGenerator.Console\**\*.nupkg' | ||
- path: 'xscgen\**\*.nupkg' | ||
- path: XmlSchemaClassGenerator.%APPVEYOR_BUILD_VERSION%.zip | ||
on_success: | ||
- git config --global credential.helper store | ||
- ps: Add-Content "$HOME\.git-credentials" "https://$($env:access_token):[email protected]`n" | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Michael Ganss" | ||
- git tag v%APPVEYOR_BUILD_VERSION% | ||
- git push origin --tags |