8000 Temporary workaround #2 to fix the PSVersion issue in beta.1 release by daxian-dbw · Pull Request #3742 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Temporary workaround #2 to fix the PSVersion issue in beta.1 release #3742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Temporary workaround #2 to fix the PSVersion issue in beta.1 release
  • Loading branch information
daxian-dbw committed May 9, 2017
commit a7f7b1f700c33f2a145383d2f042e5ab3b95042f
3 changes: 2 additions & 1 deletion build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,8 @@ function Start-PSPackage {

# Use Git tag if not given a version
if (-not $Version) {
$Version = (git --git-dir="$PSScriptRoot/.git" describe) -Replace '^v'
#$Version = (git --git-dir="$PSScriptRoot/.git" describe) -Replace '^v'
$Version = "6.0.0-beta.1"
}

$Source = Split-Path -Path $Script:Options.Output -Parent
Expand Down
0