Skip to content

Commit ba36a98

Browse files
Update update-assets.yml
1 parent 8ff189d commit ba36a98

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/update-assets.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ jobs:
1616
working-directory: assets
1717
shell: pwsh
1818
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+
2324
$moduleversion = (Find-Module dbatools).Version
2425
$ext = Get-Content .\external.json | ConvertFrom-Json
2526
echo "Module version: $moduleversion"
@@ -28,7 +29,7 @@ jobs:
2829
$ext.Version = $moduleversion
2930
$ext | ConvertTo-Json | Out-File ./external.json
3031
}
31-
Remove-Item ./dbatools.psd1 -Force
32+
# Remove-Item ./dbatools.psd1 -Force
3233
3334
- name: "Build docs"
3435
working-directory: assets

0 commit comments

Comments
 (0)