Skip to content

Commit 5d0e13a

Browse files
fix: use env var for description to prevent single quote breaking PSD1 +semver: fix
Agent-Logs-Url: https://github.com/WarehouseFinds/PSScriptModule/sessions/c50c8433-3111-4971-8626-d750bacdb404 Co-authored-by: marko-stanojevic <18008492+marko-stanojevic@users.noreply.github.com>
1 parent bf9a17f commit 5d0e13a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/bootstrap.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
9898
- name: Generate new module manifest
9999
shell: pwsh
100+
env:
101+
REPO_DESCRIPTION: ${{ needs.get_repo_state.outputs.description }}
100102
run: |
101103
# Remove existing module manifest
102104
[void] (Remove-Item "src/PSScriptModule.psd1")
@@ -109,7 +111,7 @@ jobs:
109111
CompanyName = "${{ github.repository_owner }}"
110112
Copyright = "(c) ${{ github.repository_owner }}. All rights reserved."
111113
RootModule = "${{ github.event.repository.name }}.psm1"
112-
Description = "${{ needs.get_repo_state.outputs.description }}"
114+
Description = $env:REPO_DESCRIPTION
113115
ProjectUri = "https://github.com/${{ github.repository }}"
114116
LicenseUri = "https://github.com/${{ github.repository }}/blob/main/LICENSE"
115117
ReleaseNotes = "https://github.com/${{ github.repository }}/releases"

0 commit comments

Comments
 (0)