From 0a2387e7cd2d033993e393c32ef5119a3e0fcff1 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 7 Oct 2022 11:25:50 -0400 Subject: [PATCH] Release 6.1.7 (#6365) * Release 6.1.7 Signed-off-by: Sebastian Malton * Testing pull_request:closed workflow (#6362) Signed-off-by: Sebastian Malton Signed-off-by: Sebastian Malton * Different testing code (#6363) Signed-off-by: Sebastian Malton Signed-off-by: Sebastian Malton * Add complete debug to release workflow for testing (#6364) Signed-off-by: Sebastian Malton Signed-off-by: Sebastian Malton Signed-off-by: Sebastian Malton --- .github/workflows/release.yml | 40 ++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1e62e951f..74e8e933e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,22 +6,28 @@ on: jobs: release: name: Release - if: ${{ github.event.pull_request.merged == 'true' && contains(github.event.pull_request.labels.*.name, 'release') && (github.event.pull_request.base.ref == 'master' || startsWith(github.event.pull_request.base.ref, 'release/v')) }} runs-on: ubuntu-latest steps: - - name: Checkout Release from lens - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: butlerlogic/action-autotag@stable - id: tagger - with: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - tag_prefix: "v" - - uses: ncipollo/release-action@v1 - if: ${{ needs.tag.outputs.tagname != '' }} - with: - name: v${{ steps.open-lens-version.outputs.VERSION }} - commit: master - tag: v${{ steps.open-lens-version.outputs.VERSION }} - body: ${{ github.event.pull_request.body }} + - name: Print event + run: | + echo "merged=${{ github.event.pull_request.merged }}" + echo "ref=${{ github.event.pull_request.base.ref }}" + echo "is_release=${{ contains(github.event.pull_request.labels.*.name, 'release') }}" + echo "should_continue=${{ github.event.pull_request.merged == 'true' && contains(github.event.pull_request.labels.*.name, 'release') && (github.event.pull_request.base.ref == 'master' || startsWith(github.event.pull_request.base.ref, 'release/v')) }}" + exit 1 + # - name: Checkout Release from lens + # uses: actions/checkout@v2 + # with: + # fetch-depth: 0 + # - uses: butlerlogic/action-autotag@stable + # id: tagger + # with: + # GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + # tag_prefix: "v" + # - uses: ncipollo/release-action@v1 + # if: ${{ needs.tag.outputs.tagname != '' }} + # with: + # name: v${{ steps.open-lens-version.outputs.VERSION }} + # commit: master + # tag: v${{ steps.open-lens-version.outputs.VERSION }} + # body: ${{ github.event.pull_request.body }} diff --git a/package.json b/package.json index 6adf2307fd..13869b7f9f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "OpenLens", "description": "OpenLens - Open Source IDE for Kubernetes", "homepage": "https://github.com/lensapp/lens", - "version": "6.1.6", + "version": "6.1.7", "main": "static/build/main.js", "copyright": "© 2022 OpenLens Authors", "license": "MIT",