Skip to content

Commit e35a186

Browse files
committed
var names, no nuget install
1 parent 3d507f4 commit e35a186

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/bump_version.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ $version = [Version]$moduleFile.ModuleVersion
66
$regEx = "^([\s]*ModuleVersion[\s]*\=[\s]*)\'(" + [regex]::Escape($version) + ")\'[\s]*`$"
77
Write-Host "Current build $version"
88

9-
Install-PackageProvider nuget -force
9+
# Install-PackageProvider nuget -force
1010
[version]$publishedVersion = Find-Module dbops -ErrorAction Stop | Select-Object -ExpandProperty Version
1111
if ($version -le $publishedVersion) {
1212
# increase version and push back to git

build/git_release.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$moduleFile = ".\dbops.psd1"
2-
$moduleData = Invoke-Command -ScriptBlock ([scriptblock]::Create((Get-Content $Path -Raw)))
2+
$moduleData = Invoke-Command -ScriptBlock ([scriptblock]::Create((Get-Content $moduleFile -Raw)))
33
$version = [Version]$moduleData.ModuleVersion
44
git config --global user.email $env:git_user_email
55
git config --global user.name $env:git_username

0 commit comments

Comments
 (0)