mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 19:05:55 +08:00
Update package_win32.ps1
This commit is contained in:
parent
3954103b9a
commit
8e5ff98c8d
@ -5,13 +5,13 @@
|
||||
echo "Make this is run from the perl command window."
|
||||
echo "Requires PAR."
|
||||
|
||||
New-Variable -Name "current_branch" -Value "${APPVEYOR_REPO_BRANCH}"
|
||||
New-Variable -Name "current_branch" -Value ""
|
||||
|
||||
#git branch | foreach {
|
||||
# if ($_ -match "` (.*)"){
|
||||
# $current_branch += $matches[1]
|
||||
# }
|
||||
#}
|
||||
git branch | foreach {
|
||||
if ($_ -match "` (.*)"){
|
||||
$current_branch += $matches[1]
|
||||
}
|
||||
}
|
||||
|
||||
# Change this to where you have Strawberry Perl installed.
|
||||
New-Variable -Name "STRAWBERRY_PATH" -Value "C:\Strawberry"
|
||||
|
Loading…
x
Reference in New Issue
Block a user