Skip to content

Commit

Permalink
Publish artifacts with better naming convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Oct 15, 2018
1 parent e336606 commit af55ebd
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ after_build:
- ps: >-
If ($env:Configuration -Match "Release") {
scons -C packaging\windows --arch=%INSTALLER_BITS%
$gitHash = $env:APPVEYOR_REPO_COMMIT.Substring(0, 8);
$zipFile = "freelan-binary-$env:platform-$gitHash.zip"
Push-AppveyorArtifact "BuildArtifacts.zip" -FileName $zipFile
$setupFile = "freelan-setup-$env:platform-$gitHash.exe"
$installerFile = Get-ChildItem -Path .\packaging\windows\ -Filter *.exe | Select-Object -First 1
Push-AppveyorArtifact $installerFile.FullName -FileName $setupFile
}
Expand All @@ -53,11 +61,5 @@ branches:
- master
- vcpkg

artifacts:
- path: BuildArtifacts.zip
name: Zip
- path: packaging\windows\*.exe
name: Setup

on_failure:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

0 comments on commit af55ebd

Please sign in to comment.