Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PSModule/Publish-PSModule
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.1
Choose a base ref
...
head repository: PSModule/Publish-PSModule
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 2, 2025

  1. 🩹 [Patch]: Remove reliance on GitHub (#51)

    ## Description
    
    This pull request introduces several updates to streamline the
    PowerShell module publishing process and enhance logging functionality.
    Key changes include replacing `LogGroup` with `Set-GitHubLogGroup` for
    improved GitHub-specific logging, simplifying the `action.yml`
    configuration, and refining the `Publish-PSModule` script to focus
    solely on publishing to the PowerShell Gallery.
    
    ### Updates to `action.yml` Configuration:
    * Switched from using `GitHub-Script` to running the script directly
    with `pwsh` shell, enabling better control over the execution
    environment.
    (`[[1]](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L86-R87)`,
    `[[2]](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L102-R103)`)
    
    ### Enhancements to Logging:
    * Replaced all instances of `LogGroup` with `Set-GitHubLogGroup` in
    `scripts/helpers/Publish-PSModule.ps1` and `scripts/main.ps1` for
    improved GitHub-specific structured logging.
    (`[[1]](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L36-R36)`,
    `[[2]](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L62-R73)`,
    `[[3]](diffhunk://#diff-dc2e5a659836b1b73abb03421c567f5018c2755677c4a0aa764cb26117b68011L21-R28)`,
    and others)
    
    ### Refinements to `Publish-PSModule` Script:
    * Updated the `.DESCRIPTION` and `.SYNOPSIS` sections to remove
    references to GitHub Pages, focusing exclusively on publishing modules
    to the PowerShell Gallery.
    (`[scripts/helpers/Publish-PSModule.ps1L4-R7](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L4-R7)`)
    * Removed redundant GitHub Pages functionality, simplifying the script
    logic.
    (`[scripts/helpers/Publish-PSModule.ps1L4-R7](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L4-R7)`)
    
    ## Type of change
    
    <!-- Use the check-boxes [x] on the options that are relevant. -->
    
    - [ ] 📖 [Docs]
    - [ ] 🪲 [Fix]
    - [x] 🩹 [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
    MariusStorhaug authored Jun 2, 2025
    Configuration menu
    Copy the full SHA
    9cf3a80 View commit details
    Browse the repository at this point in the history
  2. 📖 [Docs]: Remove unused configuration options from README (#52)

    ## Description
    
    This pull request updates the `README.md` file to simplify the list of
    configurable settings for the action. It removes several less commonly
    used settings to streamline the documentation and make it easier to
    read.
    
    Documentation cleanup:
    
    *
    [`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L63-L66):
    Removed the following settings from the configuration list: `Debug`,
    `Verbose`, `Version`, and `Prerelease`. These settings are no longer
    included in the documentation to simplify the list and focus on the most
    relevant options.
    
    ## Type of change
    
    <!-- Use the check-boxes [x] on the options that are relevant. -->
    
    - [x] 📖 [Docs]
    - [ ] 🪲 [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
    MariusStorhaug authored Jun 2, 2025
    Configuration menu
    Copy the full SHA
    2303942 View commit details
    Browse the repository at this point in the history
Loading