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

🌱 adding changelog functionality #82

Closed
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,24 @@ jobs:
mv ./artifacts/vscode-extension-macos/*.vsix ./artifacts/konveyor-macos-${{ needs.release_prereq.outputs.tag_name }}.vsix
mv ./artifacts/vscode-extension-windows/*.vsix ./artifacts/konveyor-windows-${{ needs.release_prereq.outputs.tag_name }}.vsix

# Reuse Konveyor changelog
- name: Generate Changelog
id: changelog
uses: savitharaghunathan/release-tools/create-release@rel_flag
with:
version: ${{ needs.release_prereq.outputs.tag_name }}
prev_version: $(gh api repos/${{ github.repository }}/releases/latest | jq -r '.tag_name')
repository: ${{ github.repository }}
ref: ${{ github.sha }}
skip_release: 'true'
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: ncipollo/release-action@v1
with:
tag: ${{ needs.release_prereq.outputs.tag_name }}
commit: ${{ github.sha }}
bodyFile: ${{ env.release_doc }}
artifacts: |
./artifacts/konveyor-linux-*.vsix
./artifacts/konveyor-macos-*.vsix
Expand Down
Loading