From 8e5ff98c8d430f2c1bbd587869b011d32524fe55 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sat, 9 Jul 2016 19:41:26 -0500 Subject: [PATCH] Update package_win32.ps1 --- utils/package_win32.ps1 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/package_win32.ps1 b/utils/package_win32.ps1 index d67b285a48..114076586a 100644 --- a/utils/package_win32.ps1 +++ b/utils/package_win32.ps1 @@ -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"