Merge pull request #67 from MuhammedKalkan/MuhammedKalkan-patch-1

Show Changelog for ppl who are too lazy to trace back it to source repo
This commit is contained in:
Muhammed Kalkan
2022-11-27 12:59:49 +03:00
committed by GitHub
+3
View File
@@ -112,11 +112,14 @@ jobs:
lens/dist/OpenLens-${{ env.LENS_VERSION }}.exe
lens/dist/OpenLens-${{ env.LENS_VERSION }}*.sha256
- name: Generate Changelog
run: curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r 'select(.prerelease == false) | .tag_name[1:]' > ${{ github.workspace }}-CHANGELOG.txt
- name: Release
uses: softprops/action-gh-release@v0.1.14
if: github.ref == 'refs/heads/main'
with:
tag_name: v${{ env.LENS_VERSION }}
body_path: ${{ github.workspace }}-CHANGELOG.txt
files: |
lens/dist/OpenLens-${{ env.LENS_VERSION }}*.dmg
lens/dist/OpenLens-${{ env.LENS_VERSION }}*.AppImage