Skip to content

Commit 0eed8cb

Browse files
🪲 [Fix]: Fix an issue where prereleases was not created during (#51)
## Description - Reestablish functionality to run `Publish-PSModule` during PR. Used to create prereleases of a module before it is published with a release version. - Revert: #37. This should have been reverted in the following PR, seeing as it was for nightly runs/adhoc runs. The `CI.yml` template was added just after which rendered this change unnecessary. - It still remains to find a way to perserve the functionality, but not need a pipeline to do it. I.e. a prereleaser "chat" bot that takes commands from maintainers in the comments of the PR. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [x] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent f37b02a commit 0eed8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ jobs:
597597

598598
PublishModule:
599599
name: Publish module
600-
if: ${{ needs.TestModuleStatus.result == 'success' && !cancelled() && github.event_name == 'pull_request' && github.event.pull_request.merged == true}}
600+
if: ${{ needs.TestModuleStatus.result == 'success' && !cancelled() && github.event_name == 'pull_request' }}
601601
needs:
602602
- TestModuleStatus
603603
- BuildSite

0 commit comments

Comments
 (0)