Output BODY to the env files like we do in the GetProjectVersion task. This change will allow you to pull the body from the env in your pipelines
name: Milestone Closure Trigger
on:
milestone:
types: [closed]
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Get Project Version
id: get_version
uses: mod-posh/GetProjectVersion@v0.0.2.2
with:
Filename: 'SpnLibrary\SpnLibrary.psd1'
verbose: "verbose"
- name: Create Release Notes
uses: mod-posh/Issue2ReleaseNotes@v0.0.3.1
with:
milestone_number: ${{ github.event.milestone.number }}
verbose: 'verbose'
github_token: ${{ secrets.PAT }}
- name: Create Release
uses: mod-posh/NewTaggedRelease@v0.0.2.15
with:
name: 'Release v${{ env.VERSION }}'
body: ${{ env.BODY }}
version: ${{ env.VERSION }}
verbose: 'verbose'
github_token: ${{ secrets.PAT }}Full Changelog: v0.0.3.1...v0.0.3.2