Update main.yml

This commit is contained in:
Muhammed Kalkan 2022-11-27 11:28:54 +03:00 committed by GitHub
parent 4955f02db6
commit 3a660bc599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -112,11 +112,14 @@ jobs:
lens/dist/OpenLens-${{ env.LENS_VERSION }}.exe lens/dist/OpenLens-${{ env.LENS_VERSION }}.exe
lens/dist/OpenLens-${{ env.LENS_VERSION }}*.sha256 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) | .body[0:]'" > ${{ github.workspace }}-CHANGELOG.txt
- name: Release - name: Release
uses: softprops/action-gh-release@v0.1.14 uses: softprops/action-gh-release@v0.1.14
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
with: with:
tag_name: v${{ env.LENS_VERSION }} tag_name: v${{ env.LENS_VERSION }}
body_path: ${{ github.workspace }}-CHANGELOG.txt
files: | files: |
lens/dist/OpenLens-${{ env.LENS_VERSION }}*.dmg lens/dist/OpenLens-${{ env.LENS_VERSION }}*.dmg
lens/dist/OpenLens-${{ env.LENS_VERSION }}*.AppImage lens/dist/OpenLens-${{ env.LENS_VERSION }}*.AppImage