1 Star 0 Fork 0

bnprojects / cms

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 3.54 KB
一键复制 编辑 原始数据 按行查看 历史
starlying 提交于 2018-03-30 19:53 . 6.1
# 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/bnprojects/cms.git
git@gitee.com:bnprojects/cms.git
bnprojects
cms
cms
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891