2016-12-11 20:09:52 +03:00
|
|
|
configuration: Release
|
|
|
|
|
|
|
|
environment:
|
2017-11-19 17:46:50 +03:00
|
|
|
packageVersion: 1.10.0
|
|
|
|
linq2dbVersion: 1.10.0
|
2016-12-11 20:09:52 +03:00
|
|
|
|
|
|
|
version: $(packageVersion).{build}
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- packages -> **\packages.config
|
|
|
|
|
|
|
|
init:
|
|
|
|
- cmd: git config --global core.autocrlf true
|
2017-03-05 22:49:29 +03:00
|
|
|
- ps: |
|
|
|
|
if ($env:APPVEYOR_REPO_BRANCH -ne "release")
|
|
|
|
{
|
|
|
|
$env:packageVersion = "$env:packageVersion-rc$env:appveyor_build_number"
|
|
|
|
}
|
|
|
|
|
2016-12-11 20:09:52 +03:00
|
|
|
|
|
|
|
nuget:
|
|
|
|
account_feed: false
|
|
|
|
project_feed: false
|
|
|
|
|
|
|
|
build:
|
|
|
|
project: T4Models.sln
|
|
|
|
publish_nuget: false
|
|
|
|
verbosity: minimal
|
|
|
|
|
|
|
|
after_build:
|
2016-12-11 21:21:01 +03:00
|
|
|
- cmd: cd NuGet
|
2017-02-19 18:36:10 +03:00
|
|
|
- cmd: PackAV.bat %packageVersion% %linq2dbVersion%
|
2016-12-11 21:21:01 +03:00
|
|
|
- cmd: cd ..
|
2016-12-11 20:09:52 +03:00
|
|
|
|
|
|
|
|
|
|
|
artifacts:
|
2016-12-11 21:21:01 +03:00
|
|
|
- path: NuGet\*.nupkg
|
2016-12-11 20:09:52 +03:00
|
|
|
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
- provider: NuGet
|
|
|
|
server: https://www.myget.org/F/linq2db/api/v2
|
|
|
|
api_key:
|
|
|
|
secure: LDw0jeA1Yo3R4/TKv2kmlgJR8dTT6Wun2MONq3uDvtVQJG4LOU9LjvVTAc7IgRfm
|
|
|
|
skip_symbols: true
|
2017-02-19 18:36:10 +03:00
|
|
|
on:
|
|
|
|
branch: master
|
2016-12-11 20:09:52 +03:00
|
|
|
|
|
|
|
- provider: NuGet
|
|
|
|
api_key:
|
|
|
|
secure: oTYw2IwTnz4qMD8c/MR/6mo+Nx3wa5Pp8MYfsKBCKCVuU6QCHlj+6QMXpnQses8G
|
|
|
|
on:
|
|
|
|
branch: release
|
2017-05-18 13:38:07 +03:00
|
|
|
|
|
|
|
skip_commits:
|
2017-06-06 09:10:49 +03:00
|
|
|
message: /ci skip./ # Regex for matching commit message
|