File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ jobs:
16
16
working-directory : assets
17
17
shell : pwsh
18
18
run : |
19
- #curl -O https://raw.githubusercontent.com/dataplat/dbatools/master/dbatools.psd1
20
- #$modData = Invoke-Expression -Command (Get-Content dbatools.psd1 -Raw)
21
- #$moduleversion = $modData.ModuleVersion
22
- # Get it right from the PS Source instead
19
+ # curl -O https://raw.githubusercontent.com/dataplat/dbatools/master/dbatools.psd1
20
+ # $modData = Invoke-Expression -Command (Get-Content dbatools.psd1 -Raw)
21
+ # $moduleversion = $modData.ModuleVersion
22
+ # Get it right from the PS Source instead while 2.0 is still in preview
23
+
23
24
$moduleversion = (Find-Module dbatools).Version
24
25
$ext = Get-Content .\external.json | ConvertFrom-Json
25
26
echo "Module version: $moduleversion"
28
29
$ext.Version = $moduleversion
29
30
$ext | ConvertTo-Json | Out-File ./external.json
30
31
}
31
- Remove-Item ./dbatools.psd1 -Force
32
+ # Remove-Item ./dbatools.psd1 -Force
32
33
33
34
- name : " Build docs"
34
35
working-directory : assets
You can’t perform that action at this time.
0 commit comments