This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
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
1 parent
c8bec12
commit 20daec4
Showing
1 changed file
with
51 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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
skip_commits: | ||
files: | ||
- README.md | ||
|
||
image: WMF 5 | ||
|
||
init: | ||
# Set "build version number" to "short-commit-hash" or when tagged to "tag name" | ||
- ps: >- | ||
if ($env:APPVEYOR_REPO_TAG -eq "true") | ||
{ | ||
Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME" | ||
} | ||
else | ||
{ | ||
Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.substring(0,7))" | ||
} | ||
environment: | ||
NugetApiKey: | ||
secure: DIE2y66RzXWvp2Q0wIOLlBTjxILBGeHyyg3pjwWjdVrggzuj9BuMWCdfHFmt9nt2 | ||
GithubAuthToken: | ||
secure: PkFAZB6f1lwOR9i3Mn9mR+kQBszikFVxmrhtOGK7p/xKlVF8o/htJc9LSQDSi3bN | ||
|
||
install: | ||
- ps: Install-PackageProvider -Name NuGet -MinimumVersion '2.8.5.201' -Force -Verbose | ||
|
||
build_script: | ||
- cd build | ||
- ps: ./build.ps1 | ||
|
||
artifacts: | ||
- path: bin\*.nupkg | ||
name: Cake.Deploy.Bot.LUIS | ||
|
||
deploy: | ||
- provider: GitHub | ||
auth_token: $(GithubAuthToken) | ||
artifact: Cake.Deploy.Bot.LUIS | ||
draft: false | ||
prerelease: false | ||
on: | ||
branch: master | ||
appveyor_repo_tag: true | ||
- provider: NuGet | ||
api_key: $(NugetApiKey) | ||
artifact: Cake.Deploy.Bot.LUIS | ||
on: | ||
branch: master | ||
appveyor_repo_tag: true | ||
|