Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
package now generates a zip file with version
Browse files Browse the repository at this point in the history
  • Loading branch information
sriv committed Dec 2, 2014
1 parent eb8bf49 commit 7fdbf1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Import-Module Pscx
# zip!
$zipScript= {
set-location $outputDir
gci -recurse | Write-Zip -OutputPath "$(Split-Path $outputDir)\gauge-csharp.zip"
$version=(Get-Item "$($outputPath)\Gauge.CSharp.Runner.exe").VersionInfo.ProductVersion
gci -recurse | Write-Zip -OutputPath "$(Split-Path $outputDir)\gauge-csharp-$($version).zip"
}

Invoke-Command -ScriptBlock $zipScript

0 comments on commit 7fdbf1e

Please sign in to comment.