The initial workaround #67 would actually not work, because Publish-Module -WhatIf shows that samples/generate/templates/.gitlab-ci.yml.ps1 (a .ps1 dotfile) cannot be included in the final module package among theFileList of the module manifest:
Publish the module
Checking module version
Publishing the module
Test-ModuleManifest: The specified FileList entry './samples/generate/templates/.gitlab-ci.yml.ps1' in the module manifest '/tmp/685007808/Generate-DockerImageVariants/Generate-DockerImageVariants.psd1' is invalid. Try again after updating this entry with valid values.
The .gitlab.ci.yml.ps1 file is now removed.
A CI job is added to do Publish-Module dry runs on non-tags.
The initial workaround #67 would actually not work, because
Publish-Module -WhatIf
shows thatsamples/generate/templates/.gitlab-ci.yml.ps1
(a.ps1
dotfile) cannot be included in the final module package among theFileList
of the module manifest:The
.gitlab.ci.yml.ps1
file is now removed.A CI job is added to do
Publish-Module
dry runs on non-tags.