-
Notifications
You must be signed in to change notification settings - Fork 21
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
Showing
1 changed file
with
44 additions
and
4 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,7 +1,47 @@ | ||
# Skip commits on updating git specific stuff. No actual project changes in this case so pointless to build. | ||
skip_commits: | ||
files: | ||
- .gitignore | ||
- README.md | ||
|
||
init: | ||
- ps: '$env:WK_BUILD_TIME = "[UTC+2]: " + $(Get-Date).ToLongDateString() + " " + $((Get-Date).ToUniversalTime().AddHours(+2).ToLongTimeString())' | ||
- ps: $env:WK_VERSION = "$(Get-Date -format yyyy.MM.dd)-$env:APPVEYOR_REPO_COMMIT" | ||
- ps: Update-AppveyorBuild -Version $env:VW_VERSION | ||
|
||
clone_script: | ||
- cmd: git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER% | ||
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT% | ||
|
||
# Update to the most recent VS. | ||
image: Visual Studio 2017 | ||
|
||
build: | ||
parallel: true | ||
project: WolvenKit.sln | ||
verbosity: minimal | ||
|
||
platform: Any CPU | ||
configuration: Release | ||
|
||
before_build: | ||
- nuget restore | ||
after_build: | ||
7z a Portable.zip VolvoWrench\bin\Release\*.* | ||
artifacts: | ||
- path: Portable.zip | ||
name: Portable | ||
- cd %APPVEYOR_BUILD_FOLDER%\VolvoWrench\bin\Release\ | ||
- rm *.xml | ||
- rm *.config | ||
- rm *.pdb | ||
- cd / | ||
- 7z a Portable.zip %APPVEYOR_BUILD_FOLDER%\VolvoWrench\bin\Release\* | ||
- appveyor PushArtifact Portable.zip | ||
|
||
deploy: | ||
release: VolvoWrench-v$(appveyor_build_version) | ||
tag: Latest | ||
description: This is a beta release so you may encounter bugs. Please report them. This build was generated on $(WK_BUILD_TIME) | ||
provider: GitHub | ||
auth_token: | ||
secure: PVcjhc6iNEsA28A1clj8BTACho8kddrMQXuFtLoTnJo9wgaQ8erwBvwGd+tMFQT6 | ||
artifact: VolvoWrench.zip | ||
prerelease: true | ||
force_update: true |