Skip to content

Commit 181acd1

Browse files
Merge pull request #78 from leojonathanoh/enhancement/ci-bump-psmodulepublisher-to-v0.11.0
Enhancement (ci): Bump PSModulePublisher to v0.11.0
2 parents e9f9329 + 6f7a66a commit 181acd1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci-master-pr.yml

+4
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,14 @@ jobs:
216216
- name: Ignore git permissions
217217
run: |
218218
git config --global --add safe.directory "$( pwd )"
219+
- name: Set MODULE_VERSION
220+
run: |
221+
echo "MODULE_VERSION=$( echo "$GITHUB_REF_NAME" | sed 's/v//g' )" >> $GITHUB_ENV
219222
- name: Publish
220223
shell: pwsh
221224
env:
222225
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
226+
MODULE_VERSION: ${{ env.MODULE_VERSION }}
223227
run: |
224228
$ErrorActionPreference = 'Stop'
225229
Import-Module ./build/PSModulePublisher/src/PSModulePublisher -Force

build/PSModulePublisher

Submodule PSModulePublisher updated 43 files

0 commit comments

Comments
 (0)