File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ $version = [Version]$moduleFile.ModuleVersion
6
6
$regEx = " ^([\s]*ModuleVersion[\s]*\=[\s]*)\'(" + [regex ]::Escape($version ) + " )\'[\s]*`$ "
7
7
Write-Host " Current build $version "
8
8
9
- Install-PackageProvider nuget - force
9
+ # Install-PackageProvider nuget -force
10
10
[version ]$publishedVersion = Find-Module dbops - ErrorAction Stop | Select-Object - ExpandProperty Version
11
11
if ($version -le $publishedVersion ) {
12
12
# increase version and push back to git
Original file line number Diff line number Diff line change 1
1
$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)))
3
3
$version = [Version ]$moduleData.ModuleVersion
4
4
git config -- global user.email $env: git_user_email
5
5
git config -- global user.name $env: git_username
You can’t perform that action at this time.
0 commit comments