Merge pull request #1618 from ctrlaltca/fix_artifacts
Appveyor: fix artifact names
This commit is contained in:
commit
9d4882415a
1 changed files with 2 additions and 2 deletions
|
@ -68,9 +68,9 @@ build_script:
|
||||||
- c:\cygwin\bin\ls -l
|
- c:\cygwin\bin\ls -l
|
||||||
- ps: |
|
- ps: |
|
||||||
$exe = dir -name *.exe
|
$exe = dir -name *.exe
|
||||||
$new_name = $exe.Replace(".exe", "-$env:target_arch_qt5.exe")
|
$new_name = $exe.Replace(".exe", "-${env:target_arch}_qt5.exe")
|
||||||
Push-AppveyorArtifact $exe -FileName $new_name
|
Push-AppveyorArtifact $exe -FileName $new_name
|
||||||
$cmake_name = $exe.Replace(".exe", "-$env:target_arch_qt5.cmake.txt")
|
$cmake_name = $exe.Replace(".exe", "-${env:target_arch}_qt5.cmake.txt")
|
||||||
Push-AppveyorArtifact CMakeCache.txt -FileName $cmake_name
|
Push-AppveyorArtifact CMakeCache.txt -FileName $cmake_name
|
||||||
$json = New-Object PSObject
|
$json = New-Object PSObject
|
||||||
(New-Object PSObject | Add-Member -PassThru NoteProperty bin $new_name | Add-Member -PassThru NoteProperty cmake $cmake_name | Add-Member -PassThru NoteProperty commit $env:APPVEYOR_REPO_COMMIT) | ConvertTo-JSON | Out-File -FilePath "latest-$env:target_arch" -Encoding ASCII
|
(New-Object PSObject | Add-Member -PassThru NoteProperty bin $new_name | Add-Member -PassThru NoteProperty cmake $cmake_name | Add-Member -PassThru NoteProperty commit $env:APPVEYOR_REPO_COMMIT) | ConvertTo-JSON | Out-File -FilePath "latest-$env:target_arch" -Encoding ASCII
|
||||||
|
|
Loading…
Reference in a new issue