Skip to content

Commit

Permalink
Release notes in published module manifest (#56)
Browse files Browse the repository at this point in the history
Fixes #37
  • Loading branch information
webtonize authored Nov 25, 2023
1 parent e720a65 commit 879b7b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Update the module manifest with the version number in the release tag
$version = $env:GITHUB_REF -replace 'refs/tags/v'
$path = './src/PSRule.Rules.AzureDevOps/PSRule.Rules.AzureDevOps.psd1'
Update-ModuleManifest -Path $path -ModuleVersion $version
Update-ModuleManifest -Path $path -ModuleVersion $version -ReleaseNotes "${{ github.event.release.body }}"
- name: Publish module
shell: pwsh
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ jobs:
- name: Copy wiki base sources
shell: bash
run: |
mkdir -p ./wiki
mkdir -p ./wiki/rules
rm -f ./wiki/*.md
rm -f ./wiki/rules/*.md
# Copy wiki base page
cp ./main/README.md ./wiki/Home.md
# Copy wiki rules
cp ./main/src/PSRule.Rules.AzureDevOps/en/*.md ./wiki/rules
# Copy docs
cp ./main/docs/*.md ./wiki
- name: Generate Module docs
shell: pwsh
Expand Down

0 comments on commit 879b7b8

Please sign in to comment.