Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌱 just take previous version as input #294

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading