Title: [Feature]: Add ReleaseType input to Publish-PSModule for explicit release control · Issue #265 · PSModule/Process-PSModule · GitHub
Open Graph Title: [Feature]: Add ReleaseType input to Publish-PSModule for explicit release control · Issue #265 · PSModule/Process-PSModule
X Title: [Feature]: Add ReleaseType input to Publish-PSModule for explicit release control · Issue #265 · PSModule/Process-PSModule
Description: Summary Add a new ReleaseType input parameter to Publish-PSModule action that allows users to explicitly specify the type of release to create, overriding the automatic detection based on PR state and labels. Motivation Currently, the re...
Open Graph Description: Summary Add a new ReleaseType input parameter to Publish-PSModule action that allows users to explicitly specify the type of release to create, overriding the automatic detection based on PR state ...
X Description: Summary Add a new ReleaseType input parameter to Publish-PSModule action that allows users to explicitly specify the type of release to create, overriding the automatic detection based on PR state ...
Opengraph URL: https://github.com/PSModule/Process-PSModule/issues/265
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature]: Add ReleaseType input to Publish-PSModule for explicit release control","articleBody":"## Summary\n\nAdd a new `ReleaseType` input parameter to `Publish-PSModule` action that allows users to explicitly specify the type of release to create, overriding the automatic detection based on PR state and labels.\n\n## Motivation\n\nCurrently, the release type is automatically determined based on:\n- Whether the PR is merged\n- Whether the target is the default branch\n- Whether the PR has a `prerelease` label\n\nThere are scenarios where users need more control over the release process, such as:\n- Forcing a specific release type in CI/CD pipelines\n- Testing release workflows without relying on label-based detection\n- Integration with other tools that determine release type externally (e.g., `Get-PSModuleSettings`)\n\n## Proposed Solution\n\nAdd a `ReleaseType` input with the following valid values:\n- `Release` - Create a stable release\n- `Prerelease` - Create a prerelease\n- `Cleanup` - Delete old prereleases\n- `None` - Do not create any release\n\nWhen set, this input overrides the automatic detection logic.\n\n## Implementation\n\nThis change affects `PSModule/Publish-PSModule`:\n- Add `ReleaseType` input to `action.yml`\n- Pass environment variable to PowerShell script\n- Update release type calculation to use the input when provided\n- Simplify the event information logging (remove redundant PR state checks)\n\n## Related\n\n- Part of the broader release notes configuration work in #263","author":{"url":"https://github.com/MariusStorhaug","@type":"Person","name":"MariusStorhaug"},"datePublished":"2026-01-18T00:39:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/265/Process-PSModule/issues/265"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c165bfc4-195d-2697-bfb9-5dc7553c4073 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92BC:2C808B:E2B8C:13D8D5:697CCCA8 |
| html-safe-nonce | 5a08a2d6e4dc1e26cedde6e66fd2385ce5feeb0bd8ab79108d2ce4f384883f7a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkJDOjJDODA4QjpFMkI4QzoxM0Q4RDU6Njk3Q0NDQTgiLCJ2aXNpdG9yX2lkIjoiMjYyNzM5NDg1MDI2NzMzMjI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e76bb66d88d02f79ae9e94699ab3fa9f7a9f73fd6e936f8fc1976977c6aa8f4c |
| hovercard-subject-tag | issue:3826106945 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PSModule/Process-PSModule/265/issue_layout |
| twitter:image | https://opengraph.githubassets.com/74a6a0dd17d5fc4e7a239f2eeafad8d0bbd570f3f12eed274aa05943af8843cb/PSModule/Process-PSModule/issues/265 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/74a6a0dd17d5fc4e7a239f2eeafad8d0bbd570f3f12eed274aa05943af8843cb/PSModule/Process-PSModule/issues/265 |
| og:image:alt | Summary Add a new ReleaseType input parameter to Publish-PSModule action that allows users to explicitly specify the type of release to create, overriding the automatic detection based on PR state ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MariusStorhaug |
| hostname | github.com |
| expected-hostname | github.com |
| None | 885404032cf4ce82316fdeed2c19c8ed247605e75fd124f8b52e9e12339174a9 |
| turbo-cache-control | no-preview |
| go-import | github.com/PSModule/Process-PSModule git https://github.com/PSModule/Process-PSModule.git |
| octolytics-dimension-user_id | 142951047 |
| octolytics-dimension-user_login | PSModule |
| octolytics-dimension-repository_id | 706356420 |
| octolytics-dimension-repository_nwo | PSModule/Process-PSModule |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 706356420 |
| octolytics-dimension-repository_network_root_nwo | PSModule/Process-PSModule |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 93330c3718e60cdbbb9384d677bd8a01675b3f9c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width