Skip to content

Commit

Permalink
Added appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
spewu committed Jan 2, 2017
1 parent cabc94f commit a58cade
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions Aem.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{11A0FBAE-A3A7-4668-8D6C-70D980DBED97}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
appveyor.yml = appveyor.yml
LICENSE = LICENSE
NuGet.config = NuGet.config
README.md = README.md
Expand Down
28 changes: 28 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: '{build}'

configuration: Release

branches:
only:
- master

pull_requests:
do_not_increment_build_number: true

before_build:
- dotnet restore

after_build:
- dotnet publish Aem -c Release --output %APPVEYOR_BUILD_FOLDER%\published
- 7z a Aem-v%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\published\*

artifacts:
- path: Aem-v%APPVEYOR_BUILD_VERSION%.zip

deploy:
release: Aem-v$(appveyor_build_version)
provider: GitHub
auth_token:
secure: Fu6p8pFA2CEmOLfszUJf3ayF3dL9DsorBluoiQKJUNkpCcAlxlubScpvGDgxFAyH
on:
branch: master

0 comments on commit a58cade

Please sign in to comment.