代码拉取完成,页面将自动刷新
# configuration for "master" branch
-
branches:
only:
- master
version: 6.1.{build}
image: Visual Studio 2017
assembly_info:
patch: true
file: '**\AssemblyInfo.cs'
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}"
configuration:
- Release
environment:
nodejs_version: "6"
TreatWarningsAsErrors: false
install:
- ps: Install-Product node $env:nodejs_version
- npm install gulp -g
- npm install
skip_tags: true
cache:
- packages -> **\packages.config
- node_modules # local npm modules
before_build:
- nuget restore siteserver.sln
build:
project: siteserver.sln # path to Visual Studio solution or project
publish_nuget: true
after_build:
- gulp release
- nuget pack build/SS.CMS.nuspec
- gulp zip
artifacts:
- path: siteserver_install.zip
name: siteserver_install
- path: '*.nupkg'
deploy:
- provider: GitHub
release: siteserver-v$(appveyor_build_version)
description: 'SiteServer CMS'
auth_token:
secure: B/TFrPxGyyTS/NKTQsf/GBLPfGI+Rz/j3e7FVLaP6yjeUDljwkfvV70C+CT34/10
artifact: /.*\.zip/
draft: false
prerelease: false
on:
branch: master
appveyor_repo_tag: false
- provider: NuGet
server: # remove to push to NuGet.org
api_key:
secure: cKpWZvlfFA7EfagAXc/mZfTGHXxfoKNOYTQd6v4ImalbNV1mtNR55M2HMJJ4jCAo
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/
notifications:
- provider: GitHubPullRequest
on_build_success: true
on_build_failure: true
# configuration for "dev" branch
-
branches:
only:
- dev
version: 6.1.{build}
image: Visual Studio 2017
assembly_info:
patch: true
file: '**\AssemblyInfo.cs'
assembly_version: "{version}"
assembly_file_version: "{version}"
assembly_informational_version: "{version}-beta"
configuration:
- Release
environment:
nodejs_version: "6"
TreatWarningsAsErrors: false
install:
- ps: Install-Product node $env:nodejs_version
- npm install gulp -g
- npm install
skip_tags: true
cache:
- packages -> **\packages.config
- node_modules # local npm modules
before_build:
- nuget restore siteserver.sln
build:
project: siteserver.sln # path to Visual Studio solution or project
publish_nuget: true
after_build:
- gulp preview
- nuget pack build/SS.CMS.nuspec
- gulp zip
artifacts:
- path: siteserver_install.zip
name: siteserver_install
- path: '*.nupkg'
deploy:
- provider: GitHub
release: siteserver-v$(appveyor_build_version)-preview
description: 'SiteServer CMS'
auth_token:
secure: B/TFrPxGyyTS/NKTQsf/GBLPfGI+Rz/j3e7FVLaP6yjeUDljwkfvV70C+CT34/10
artifact: /.*\.zip/
draft: false
prerelease: false
on:
branch: dev
appveyor_repo_tag: false
- provider: NuGet
server: https://www.myget.org/F/siteserver/api/v2/package # remove to push to NuGet.org
api_key:
secure: i9vISdFyCeWbRUQw+jhcF748i4oWdeatGBrx+dJ07SDTpt7Hsk9YCRp/ha3ZXfZF
skip_symbols: false
symbol_server: # remove to push symbols to SymbolSource.org
artifact: /.*\.nupkg/
notifications:
- provider: GitHubPullRequest
on_build_success: true
on_build_failure: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。