Skip to content

Commit 2d23d93

Browse files
Reset the WithManifest fixture settings
Drops the PrereleaseLabels trigger, so the self-test returns to skipping Publish-Module at the job level and the pull request is limited to the tag-derivation path again. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent e20f1d4 commit 2d23d93

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

tests/srcWithManifestTestRepo/.github/PSModule.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,6 @@ Test:
1212
Publish:
1313
Module:
1414
AutoCleanup: false
15-
# 'Fix' is here so that Process-PSModule's own self-test exercises the publish path. The framework
16-
# repository labels its bugfix pull requests 'Fix', which makes Get-PSModuleSettings resolve
17-
# ReleaseType to 'Prerelease' for this fixture, so Publish-PSModule actually runs and the release tag
18-
# it resolves is visible in the workflow log. Publish-Module.yml sets WhatIf whenever the workflow runs
19-
# in PSModule/Process-PSModule, so nothing is published and no release is created.
20-
#
21-
# Never add a label that PSModule/Auto-Release recognises. It matches the literal string 'prerelease'
22-
# with -Contains, which is case-insensitive in PowerShell, and would make this repository create a
23-
# real prerelease release and tag of itself.
24-
#
25-
# This fixture carries it rather than srcTestRepo so that the Default fixture, which leaves AutoCleanup
26-
# at its default of true, keeps resolving ReleaseType to 'None' and stays available as the fixture that
27-
# can exercise Cleanup-PSModulePrereleases - that step is gated on ReleaseType != 'Prerelease'.
28-
#
29-
# This is a stopgap that covers the Settings -> action input -> environment variable hop until the
30-
# end-to-end publish harness in PSModule/Process-PSModule#436 exists.
31-
PrereleaseLabels: 'prerelease, Fix'
3215
Linter:
3316
env:
3417
VALIDATE_BIOME_FORMAT: false

0 commit comments

Comments
 (0)