Skip to content

Releases: PSModule/Build-PSModule

v4.0.8

28 Oct 22:48
dff3bb9

Choose a tag to compare

Bump actions/upload-artifact from 4 to 5 (#120)

Bumps actions/upload-artifact from 4 to 5.

Release notes

Sourced from actions/upload-artifact's releases.

v5.0.0

What's Changed

BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such.

New Contributors

Full Changelog: actions/upload-artifact@v4...v5.0.0

v4.6.2

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v4...v4.6.2

v4.6.1

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.6.1

v4.6.0

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.6.0

v4.5.0

What's Changed

New Contributors

... (truncated)

Commits
  • 330a01c Merge pull request #734 from actions/danwkennedy/prepare-5.0.0
  • 03f2824 Update github.dep.yml
  • 905a1ec Prepare v5.0.0
  • 2d9f9cd Merge pull request #725 from patrikpolyak/patch-1
  • 9687587 Merge branch 'main' into patch-1
  • 2848b2c Merge pull request #727 from danwkennedy/patch-1
  • 9b51177 Spell out the first use of GHES
  • cd231ca Update GHES guidance to include reference to Node 20 version
  • de65e23 Merge pull request #712 from actions/nebuk89-patch-1
  • 8747d8c Update README.md
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

v4.0.7

15 Oct 11:21
2a649d5

Choose a tag to compare

🩹 [Patch]: Move documentation and link to Process-PSModule (#119)

Description

This pull request significantly reduces and simplifies the documentation and metadata for the Build-PSModule GitHub Action, focusing on minimalism and removing detailed usage and implementation information.

Documentation simplification:

  • The README.md file was almost entirely rewritten, removing all detailed explanations about supported module types, build steps, repository structure, manifest generation, and references. It now contains only a single line briefly describing the action and its relation to the PSModule framework.

Metadata cleanup:

  • In action.yml, the action's name was simplified, and the branding section specifying the icon and color was removed to further streamline the action's metadata.

v4.0.6

12 Oct 11:56
f84654d

Choose a tag to compare

🩹 [Patch]: Encode all PowerShell files using UTF8 with BOM (#118)

Description

This pull request makes a minor change to the Planets.ps1 files in both test repositories. The only update is the addition of a Unicode Byte Order Mark (BOM) at the beginning of each file to ensure proper encoding.

  • Added a Unicode BOM to the start of Planets.ps1 in both srcTestRepo and srcWithManifestTestRepo to enforce UTF-8 encoding.

v4.0.5

03 Oct 21:10
eee6fb1

Choose a tag to compare

🩹 [Patch]: Update Dependabot configuration to include labels for GitHub Actions (#117)

Description

This pull request makes a small configuration change to the Dependabot settings by adding default labels for GitHub Actions updates.

  • Added dependencies and github-actions labels to all GitHub Actions updates in .github/dependabot.yml

v4.0.4

20 Aug 10:57
108f15f

Choose a tag to compare

Bump actions/checkout from 4 to 5 (#116)

Bumps actions/checkout from 4 to 5.

Release notes

Sourced from actions/checkout's releases.

v5.0.0

What's Changed

⚠️ Minimum Compatible Runner Version

v2.327.1
Release Notes

Make sure your runner is updated to this version or newer to use this release.

Full Changelog: actions/checkout@v4...v5.0.0

v4.3.0

What's Changed

New Contributors

Full Changelog: actions/checkout@v4...v4.3.0

v4.2.2

What's Changed

Full Changelog: actions/checkout@v4.2.1...v4.2.2

v4.2.1

What's Changed

New Contributors

Full Changelog: actions/checkout@v4.2.0...v4.2.1

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

V5.0.0

V4.3.0

v4.2.2

v4.2.1

v4.2.0

v4.1.7

v4.1.6

v4.1.5

  • Update NPM dependenci...
Read more

v4.0.3

02 Jun 00:32
46d8c8c

Choose a tag to compare

🩹 [Patch]: Refactor Build-PSModule action without Github-Script (#115)

Description

This pull request includes updates to the PowerShell module build process and related scripts, focusing on improving compatibility with GitHub Actions and simplifying output handling. The changes primarily affect the action.yml file and several PowerShell scripts.

Updates to GitHub Actions configuration:

  • action.yml: Replaced the uses directive for running PowerShell scripts with the shell: pwsh option and updated the run block to execute the build script directly. Simplified artifact upload by changing the path reference to use steps.build.outputs.ModuleOutputFolderPath instead of parsing JSON.

Updates to script handling:

  • scripts/main.ps1: Added a new environment variable $env:GITHUB_REPOSITORY_NAME derived from $env:GITHUB_REPOSITORY for repository name extraction. Replaced Set-GitHubOutput calls with direct appending to $env:GITHUB_OUTPUT for compatibility with GitHub Actions. [1] [2]

Updates to URI generation:

  • scripts/helpers/Build/Build-PSModuleManifest.ps1: Simplified the generation of LicenseUri and IconUri by using $env:GITHUB_REPOSITORY directly instead of combining $env:GITHUB_REPOSITORY_OWNER and $env:GITHUB_REPOSITORY_NAME. [1] [2]

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

v4.0.2

01 Jun 23:31
0d98e7d

Choose a tag to compare

🩹 [Patch]: Remove initialization step and dependency on Utilities (#114)

Description

This pull request simplifies the codebase by removing redundant module dependencies and improving code readability across various scripts. It also consolidates file exclusions in the .jscpd.json configuration and updates logic for handling module manifest properties.

Module Dependency Removal:

  • Removed #Requires statements for unused module dependencies (GitHub, Utilities, Hashtable) across multiple scripts, including Build-PSModule.ps1, Build-PSModuleManifest.ps1, and Build-PSModuleRootModule.ps1 files. [1] [2] [3] [4]

Configuration Updates:

  • Consolidated file exclusions in .github/linters/.jscpd.json by replacing specific file paths with a wildcard (**/scripts/helpers/**).

Workflow Simplification:

  • Removed the Initialize-PSModule step from the Action-Test.yml workflow, streamlining the setup process. [1] [2] [3]

Code Readability Improvements:

  • Replaced custom IsNotNullOrEmpty function calls with native .NET methods like [string]::IsNullOrEmpty for better clarity and maintainability in scripts such as Build-PSModuleManifest.ps1 and Get-PSModuleAliasesToExport.ps1. [1] [2] [3] [4]

Suppression Attribute Adjustments:

  • Updated Diagnostics.CodeAnalysis.SuppressMessageAttribute to include Scope = 'Function' for consistency in scripts like Get-PSModuleClassesToExport.ps1 and Get-PSModuleCmdletsToExport.ps1. [1] [2]

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

v4.0.1

19 Apr 11:04
3f9d3e8

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v4...v4.0.1

v4.0.0

17 Apr 13:44
8cccec4

Choose a tag to compare

What's Changed

🌟 Breaking Changes

Full Changelog: v3...v4.0.0

v3.0.5

07 Mar 23:29
7f3f350

Choose a tag to compare

What's Changed

Other Changes

Full Changelog: v3...v3.0.5