WIP - Install/update support

This commit is contained in:
2021-12-20 12:28:50 -05:00
parent 4f80379692
commit 37ba989310
9 changed files with 266 additions and 63 deletions

31
appveyor.yml Normal file
View File

@@ -0,0 +1,31 @@
version: 1.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
image: Visual Studio 2017
configuration: Release
assembly_info:
patch: true
file: 'Properties\AssemblyInfo.cs'
assembly_version: '{version}'
assembly_file_version: '{version}'
build:
project: WorkIndicator.sln
verbosity: minimal
after_build:
- ps: >-
nuget pack WorkIndicator.nuspec -Version $env:APPVEYOR_BUILD_VERSION -Properties Configuration=Release -OutputDirectory bin\Release\
$squirrel = ".\packages\squirrel.windows.*\tools\Squirrel.exe"
.$squirrel -releasify ".\bin\$env:CONFIGURATION\WorkIndicator.$env:APPVEYOR_BUILD_VERSION.nupkg" | Write-Output
artifacts:
- path: Releases\*
name: Releases
deploy:
- provider: Environment
name: GitHub
install:
- cmd: git submodule update --init --recursive
before_build:
- cmd: nuget restore