Browse Source

Update appveyor.yml to allow publishing nightly nupkgs.

pull/940/merge
Siegfried Pammer 8 years ago
parent
commit
94168b5627
  1. 6
      BuildTools/appveyor-install.ps1
  2. 4
      appveyor.yml

6
BuildTools/appveyor-install.ps1

@ -32,5 +32,7 @@ if ($env:APPVEYOR_PULL_REQUEST_NUMBER) {
$revision = [Int32]::Parse((git rev-list --count "$baseCommit..HEAD")) + $baseCommitRev; $revision = [Int32]::Parse((git rev-list --count "$baseCommit..HEAD")) + $baseCommitRev;
$newVersion="$major.$minor.$build.$revision"; $newVersion="$major.$minor.$build.$revision";
$env:appveyor_build_version="$newVersion$branch$versionName$suffix"; $env:APPVEYOR_BUILD_VERSION="$newVersion$branch$versionName$suffix";
appveyor UpdateBuild -Version "$newVersion$branch$versionName$suffix"; $env:ILSPY_VERSION_NUMBER="$newVersion$branch$versionName$suffix";
appveyor UpdateBuild -Version "$newVersion$branch$versionName$suffix";
Write-Host "new version: $newVersion$branch$versionName$suffix";

4
appveyor.yml

@ -20,4 +20,6 @@ after_test:
- python BuildTools\tidy.py - python BuildTools\tidy.py
artifacts: artifacts:
- path: ILSpy_binaries.zip - path: ILSpy_binaries.zip
name: ILSpy %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% binaries name: ILSpy %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% binaries
- path: '**\*.nupkg'
name: ICSharpCode.Decompiler %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% NuGet
Loading…
Cancel
Save