diff --git a/BuildTools/appveyor-install.ps1 b/BuildTools/appveyor-install.ps1 index 58b1801f9..63afea63c 100644 --- a/BuildTools/appveyor-install.ps1 +++ b/BuildTools/appveyor-install.ps1 @@ -32,5 +32,7 @@ if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { $revision = [Int32]::Parse((git rev-list --count "$baseCommit..HEAD")) + $baseCommitRev; $newVersion="$major.$minor.$build.$revision"; -$env:appveyor_build_version="$newVersion$branch$versionName$suffix"; -appveyor UpdateBuild -Version "$newVersion$branch$versionName$suffix"; \ No newline at end of file +$env:APPVEYOR_BUILD_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"; \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 33d571e9d..ad8006791 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,4 +20,6 @@ after_test: - python BuildTools\tidy.py artifacts: - path: ILSpy_binaries.zip - name: ILSpy %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% binaries \ No newline at end of file + name: ILSpy %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% binaries + - path: '**\*.nupkg' + name: ICSharpCode.Decompiler %APPVEYOR_REPO_BRANCH% %ILSPY_VERSION_NUMBER% NuGet \ No newline at end of file