1 Commits
1.4.0 ... 1.4.1

Author SHA1 Message Date
15381257e5 Exclude "Tests" directory when retrieving module name for publishing
All checks were successful
Publish Powershell Module to Gitea Repository / test (push) Successful in 10s
Publish Powershell Module to Gitea Repository / deploy (push) Successful in 34s
2025-05-27 11:35:41 -04:00

View File

@@ -72,7 +72,7 @@ jobs:
Set-Location -Path ${{ github.workspace }}
$moduleVersion = git describe --tags
Write-Host "Module version: $moduleVersion"
$module = get-childItem -path . -Directory -Exclude ".*" | Select-Object -ExpandProperty Name
$module = get-childItem -path . -Directory -Exclude (".*", "Tests") | Select-Object -ExpandProperty Name
Write-Host "Publishing module $module to Gitea"
Publish-Module -Path $module -Repository 'GiteaPublic' -NuGetApiKey "${{ secrets.PACKAGES_TOKEN }}"
Write-Host "Module $module published to Gitea"