Created
June 8, 2019 00:31
-
-
Save nathanwoulfe/bf3e4c2e1d43d9596b7163700326c466 to your computer and use it in GitHub Desktop.
Appveyor config for Umbraco CI
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
# version format | |
version: 1.0.0.{build} | |
image: Visual Studio 2017 | |
cache: | |
- packages -> **\packages.config | |
- c:\projects\plumber8\plumber.web\node_modules -> **\packages.json | |
# UMBRACO_PACKAGE_PRERELEASE_SUFFIX will only be used for Release builds | |
# example UMBRACO_PACKAGE_PRERELEASE_SUFFIX=beta | |
install: | |
- set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe;%PATH% | |
- cmd: npm install -g grunt-cli | |
- cmd: set UMBRACO_PACKAGE_MIN_VERSION=8.0.2 | |
- cmd: cd BuildPackage | |
- cmd: Build.bat | |
branches: | |
only: | |
- master | |
- variants | |
test: off | |
build: off | |
artifacts: | |
- path: BuildPackage\artifacts\*.nupkg | |
- path: BuildPackage\artifacts\*.zip | |
deploy: | |
- provider: NuGet | |
server: | |
api_key: | |
secure: ORGl5eR/eDby41oG+g9voQ+lmTDIK9SbEzPawNN9yKTvvdKn/XC97dfnOcX7vIOA # this is encrypted | |
skip_symbols: false | |
symbol_server: | |
artifact: /.*\.nupkg/ | |
on: | |
branch: master | |
appveyor_repo_tag: true | |
- provider: GitHub | |
tag: v0.0.0 | |
release: Release 0.0.0 | |
description: "" | |
force_update: true | |
auth_token: | |
secure: Otbl8p8qCwciDqJgSWCyN0Arfs5XS1CwiHcK+r0F6uz9Rxt4gzBFvlc3cjPV3NxR # this is encrypted | |
artifact: /.*\.zip/ | |
on: | |
branch: master | |
appveyor_repo_tag: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment