Skip to content

Commit

Permalink
Move build script to use nupkgwrench version on directory
Browse files Browse the repository at this point in the history
  • Loading branch information
emgarten committed Nov 7, 2016
1 parent b754377 commit 3f44e75
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,10 @@ if (-not $SkipPack)
& $nupkgWrenchExe nuspec dependencies emptygroup artifacts -f net451

# Get version number
$nupkgPath = (& $nupkgWrenchExe list artifacts --exclude-symbols -id nupkgwrench) | Out-String
$nupkgPath = $nupkgPath.Trim()
$nupkgVersion = (& $nupkgWrenchExe version artifacts --exclude-symbols -id nupkgwrench) | Out-String
$nupkgVersion = $nupkgVersion.Trim()

Write-Host "-----------------------------"
Write-Host "Nupkg: $nupkgPath"
$nupkgVersion = (& $nupkgWrenchExe version $nupkgPath) | Out-String
$nupkgVersion = $nupkgVersion.Trim()
Write-Host "Version: $nupkgVersion"
Write-Host "-----------------------------"

Expand Down

0 comments on commit 3f44e75

Please sign in to comment.