Skip to content

Commit 4b02dd8

Browse files
committed
adapted the relative path for the artifacts to find the release zips
1 parent 666cb1b commit 4b02dd8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

appveyor.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,25 @@ build_script:
2929
- msbuild HexEditor.vcxproj /p:configuration="%configuration%" /p:platform="%platform%" /p:PlatformToolset="%PlatformToolset%"
3030

3131
after_build:
32-
- cd "%APPVEYOR_BUILD_FOLDER%"\HexEditor\projects\2003\
32+
- cd "%APPVEYOR_BUILD_FOLDER%"
3333
- ps: >-
3434
3535
if ($env:PLATFORM -eq "x64") {
36-
Push-AppveyorArtifact "$env:PLATFORM\$env:CONFIGURATION\HexEditor.dll" -FileName HexEditor.dll
36+
Push-AppveyorArtifact "HexEditor\projects\2003\$env:PLATFORM\$env:CONFIGURATION\HexEditor.dll" -FileName HexEditor.dll
3737
}
3838
3939
if ($env:PLATFORM -eq "Win32" ) {
40-
Push-AppveyorArtifact "$env:CONFIGURATION\HexEditor.dll" -FileName HexEditor.dll
40+
Push-AppveyorArtifact "HexEditor\projects\2003\$env:CONFIGURATION\HexEditor.dll" -FileName HexEditor.dll
4141
}
4242
4343
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release" -and $env:PLATFORMTOOLSET -eq "v120_xp") {
44-
$ZipFileName = "HexEditor_$($env:APPVEYOR_REPO_TAG_NAME)_$env:PLATFORM.zip"
4544
if($env:PLATFORM -eq "x64"){
46-
7z a $ZipFileName $env:PLATFORM\$env:CONFIGURATION\*.dll
45+
$ZipFileName = "HexEditor_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
46+
7z a $ZipFileName HexEditor\projects\2003\$env:PLATFORM\$env:CONFIGURATION\*.dll
4747
}
4848
if($env:PLATFORM -eq "Win32"){
49-
7z a $ZipFileName $env:CONFIGURATION\*.dll
49+
$ZipFileName = "HexEditor_$($env:APPVEYOR_REPO_TAG_NAME)_x86.zip"
50+
7z a $ZipFileName HexEditor\projects\2003\$env:CONFIGURATION\*.dll
5051
}
5152
}
5253

0 commit comments

Comments
 (0)