Skip to content

Commit

Permalink
Merge pull request #34 from leojonathanoh/enhancement/ci-bump-psmodul…
Browse files Browse the repository at this point in the history
…epublisher-to-v0.11.0

Enhancement (ci): Bump PSModulePublisher to v0.11.0
  • Loading branch information
leojonathanoh authored Jan 5, 2025
2 parents 20fe980 + 8cd0bd0 commit 9f97140
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,14 @@ jobs:
- name: Ignore git permissions
run: |
git config --global --add safe.directory "$( pwd )"
- name: Set MODULE_VERSION
run: |
echo "MODULE_VERSION=$( echo "$GITHUB_REF_NAME" | sed 's/v//g' )" >> $GITHUB_ENV
- name: Publish
shell: pwsh
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
MODULE_VERSION: ${{ env.MODULE_VERSION }}
run: |
$ErrorActionPreference = 'Stop'
Import-Module ./build/PSModulePublisher/src/PSModulePublisher -Force
Expand Down
2 changes: 1 addition & 1 deletion build/PSModulePublisher
Submodule PSModulePublisher updated 43 files
+0 −52 .github/release-drafter.yml
+131 −52 .github/workflows/ci-master-pr.yml
+46 −17 .vscode/tasks.json
+146 −79 README.md
+24 −10 build/definitions/modulemanifest.ps1
+87 −0 docs/samples/.vscode/tasks.psmodule.json
+87 −0 docs/samples/.vscode/tasks.submodule.json
+18 −18 docs/samples/ci/azure-pipelines/azure-pipelines.linux-container.yml
+5 −5 docs/samples/ci/azure-pipelines/azure-pipelines.linux-windows.yml
+3 −3 docs/samples/ci/azure-pipelines/azure-pipelines.linux.yml
+3 −3 docs/samples/ci/azure-pipelines/azure-pipelines.macos.yml
+3 −3 docs/samples/ci/azure-pipelines/azure-pipelines.windows-powershell-5_1.yml
+3 −3 docs/samples/ci/azure-pipelines/azure-pipelines.windows-pwsh.yml
+151 −0 docs/samples/ci/github/github-workflows.linux-container.yml
+137 −0 docs/samples/ci/github/github-workflows.windows.yml
+16 −11 docs/samples/test/test.ps1
+76 −11 src/PSModulePublisher/PSModulePublisher.Tests.ps1
+2 −2 src/PSModulePublisher/PSModulePublisher.psd1
+2 −0 src/PSModulePublisher/Private/Generate-ModuleManifest.ps1
+7 −7 src/PSModulePublisher/Private/Get-ProjectVariables.ps1
+1 −1 src/PSModulePublisher/Private/Publish-MyModule.ps1
+4 −12 src/PSModulePublisher/Public/Invoke-PSModulePublisher.ps1
+14 −4 src/PSModulePublisher/Public/Invoke-Publish.ps1
+7 −1 src/PSModulePublisher/Public/Invoke-Test.ps1
+0 −1 templates/azure-pipelines/steps/powershell/install-publish-dependencies.yml
+6 −2 templates/azure-pipelines/steps/powershell/process-buildvariables.yml
+2 −5 templates/azure-pipelines/steps/powershell/run-build.yml
+3 −4 templates/azure-pipelines/steps/powershell/run-publish.yml
+2 −2 templates/azure-pipelines/steps/powershell/run-test.yml
+6 −2 templates/azure-pipelines/steps/pwsh/process-buildvariables.yml
+2 −5 templates/azure-pipelines/steps/pwsh/run-build.yml
+3 −4 templates/azure-pipelines/steps/pwsh/run-publish.yml
+2 −2 templates/azure-pipelines/steps/pwsh/run-test.yml
+7 −15 test/Mock-Module/build/definitions/modulemanifest.ps1
+3 −3 test/Mock-Module/src/Mock-Module/Mock-Module.psd1
+12 −13 test/Mock-Module/src/Mock-Module/Mock-Module.psm1
+6 −0 test/Mock-Module/src/Mock-Module/Private/Private-Function1.ps1
+6 −0 test/Mock-Module/src/Mock-Module/Private/Private-Function2.ps1
+27 −0 test/Mock-Module/src/Mock-Module/Public/Mock-Function1.ps1
+27 −0 test/Mock-Module/src/Mock-Module/Public/Mock-Function2.ps1
+5 −0 test/Mock-Module/src/Mock-Module/helpers/Helper-Function1.ps1
+5 −0 test/Mock-Module/src/Mock-Module/helpers/Helper-Function2.ps1
+14 −12 test/test.ps1

0 comments on commit 9f97140

Please sign in to comment.