mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 14:12:01 +08:00
A couple fixes to package_win32.ps1
This commit is contained in:
parent
d27219e84b
commit
97431eba20
@ -29,11 +29,13 @@ git branch | foreach {
|
||||
}
|
||||
}
|
||||
|
||||
# Use absolute paths because apparently the zip calls below do
|
||||
if ($env:APPVEYOR) {
|
||||
$output_dir = "../../Slic3r-${current_branch}.${current_date}.${env:APPVEYOR_BUILD_NUMBER}.$(git rev-parse --short HEAD)"
|
||||
$output_dir = "${pwd}\..\..\Slic3r-${current_branch}.${current_date}.${env:APPVEYOR_BUILD_NUMBER}.$(git rev-parse --short HEAD)"
|
||||
} else {
|
||||
$output_dir = "../../Slic3r-${current_branch}.${current_date}.$(git rev-parse --short HEAD)"
|
||||
$output_dir = "${pwd}\..\..\Slic3r-${current_branch}.${current_date}.$(git rev-parse --short HEAD)"
|
||||
}
|
||||
mkdir $output_dir
|
||||
|
||||
copy slic3r.exe $output_dir\Slic3r.exe
|
||||
copy slic3r-console.exe $output_dir\Slic3r-console.exe
|
||||
|
Loading…
x
Reference in New Issue
Block a user