Skip to content

Commit

Permalink
🌱 just take previous version as input (#294)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zager <dzager@redhat.com>
  • Loading branch information
djzager authored Nov 27, 2023
1 parent 257dc7b commit 99496ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
version:
description: 'The semantic version of the release (e.g. v1.2.3)'
required: true
previous_version:
description: 'The semantic version of the previous release (e.g. v1.2.3)'
required: true
branch:
description: 'The branch to create the release from (defaults to main)'
required: false
Expand Down Expand Up @@ -278,11 +281,11 @@ jobs:
)
echo "Konveyor Operator ${{ inputs.version }}" > changelog.md
echo "=======================================" > changelog.md
echo "=======================================" >> changelog.md
echo "" >> changelog.md
for repo in "${repositories[@]}"; do
echo "# ${repo}"
echo "# ${repo}" >> changelog.md
echo "" >> changelog.md
gh release view "${{ inputs.version }}" --repo "${repo}" --json body --jq .body >> changelog.md
echo "" >> changelog.md
Expand Down

0 comments on commit 99496ad

Please sign in to comment.