Skip to content

Commit

Permalink
Specify local version to install
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlbyk committed Jan 31, 2017
1 parent 5c8e048 commit 9a1d91d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chocolatey/packAndLocalInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
pushd $PSScriptRoot

$nuspec = [xml](Get-Content poshgit.nuspec)
$version = $nuspec.package.metadata.version

choco pack poshgit.nuspec
choco install -f -y poshgit -pre -s .
choco install -f -y poshgit -pre --version=$version -s .

popd

0 comments on commit 9a1d91d

Please sign in to comment.