From 31dc48ae9ec4e2a754178bb822cc6fd81b09a953 Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sun, 5 Jan 2025 03:40:28 +0000 Subject: [PATCH] Enhancement (ci): Bump PSModulePublisher to v0.11.0 --- .github/workflows/ci-master-pr.yml | 4 ++++ build/PSModulePublisher | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 83f681f..c4b6b8f 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -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 diff --git a/build/PSModulePublisher b/build/PSModulePublisher index 53bdbf4..f2501a1 160000 --- a/build/PSModulePublisher +++ b/build/PSModulePublisher @@ -1 +1 @@ -Subproject commit 53bdbf413859baaea67e811f05f7a495cd9da492 +Subproject commit f2501a1a41705908740b06259063d2ded10000c0