Update main.yml (#162)
This commit is contained in:
parent
8cb4107664
commit
32fca4b84b
|
|
@ -103,7 +103,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: OpenLens-${{ matrix.os }}
|
name: OpenLens-${{ matrix.os }}
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
path: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }}*.*
|
path: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.*
|
||||||
|
|
||||||
- name: Generate Changelog
|
- 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
|
run: curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r 'select(.prerelease == false) | .body[0:]' > ${{ github.workspace }}-CHANGELOG.txt
|
||||||
|
|
@ -112,9 +112,9 @@ jobs:
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
uses: softprops/action-gh-release@v0.1.15
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }}
|
tag_name: v${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}
|
||||||
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
body_path: ${{ github.workspace }}-CHANGELOG.txt
|
||||||
files: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }}*.*
|
files: lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.*
|
||||||
|
|
||||||
- name: Latest
|
- name: Latest
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
uses: softprops/action-gh-release@v0.1.15
|
||||||
|
|
@ -122,5 +122,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
tag_name: Latest
|
tag_name: Latest
|
||||||
files: |
|
files: |
|
||||||
lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_NUMBER }}*.*
|
lens/open-lens/dist/OpenLens*${{ env.LENS_VERSION }}-${{ env.BUILD_ID }}*.*
|
||||||
lens/open-lens/dist/lates*.yml
|
#lens/open-lens/dist/lates*.yml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue