From e47f2aeb230056d66d8dc5746af133d93e5378d1 Mon Sep 17 00:00:00 2001 From: zachaller Date: Tue, 8 Nov 2022 14:57:44 -0600 Subject: [PATCH 1/4] ci: create stable tag for docs Create a stable tag so that docs do not track latest causing confusion for end users on what features are available. Signed-off-by: zachaller --- .github/workflows/gh-pages.yaml | 4 ++++ .github/workflows/release.yaml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 58c87fe72a..a2fd49c280 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -4,6 +4,10 @@ on: push: branches: - master + workflow_run: + workflows: [ "Release" ] + types: + - completed concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 28f787bb04..e48a8fdf14 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -183,6 +183,12 @@ jobs: COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}} COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}} + - name: update stable tag for docs + run: | + git tag -f -m "" stable ${{ github.event.inputs.tag }} + git push -f origin stable + + - name: Draft release uses: softprops/action-gh-release@v1 with: From 4ec6ec4df9a3093ca32773c1590fd46fdc7250eb Mon Sep 17 00:00:00 2001 From: zachaller Date: Tue, 8 Nov 2022 14:59:15 -0600 Subject: [PATCH 2/4] remove extra space Signed-off-by: zachaller --- .github/workflows/release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e48a8fdf14..b7a8a6e0cf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -186,8 +186,7 @@ jobs: - name: update stable tag for docs run: | git tag -f -m "" stable ${{ github.event.inputs.tag }} - git push -f origin stable - + git push -f origin stable - name: Draft release uses: softprops/action-gh-release@v1 From 7a3a6c6d5cfbec7fbc097a0318bbe8ee4e5ec1cf Mon Sep 17 00:00:00 2001 From: zachaller Date: Mon, 12 Dec 2022 15:21:24 -0600 Subject: [PATCH 3/4] no need to run pages build Signed-off-by: zachaller --- .github/workflows/gh-pages.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index a2fd49c280..58c87fe72a 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -4,10 +4,6 @@ on: push: branches: - master - workflow_run: - workflows: [ "Release" ] - types: - - completed concurrency: group: ${{ github.workflow }}-${{ github.ref }} From 5e4c15639f689c20d2f2b777f702da0a2786d550 Mon Sep 17 00:00:00 2001 From: zachaller Date: Tue, 13 Dec 2022 14:05:57 -0600 Subject: [PATCH 4/4] no need to add message keep tags lightweight Signed-off-by: zachaller --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b7a8a6e0cf..e73d774f7c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -185,7 +185,7 @@ jobs: - name: update stable tag for docs run: | - git tag -f -m "" stable ${{ github.event.inputs.tag }} + git tag -f stable ${{ github.event.inputs.tag }} git push -f origin stable - name: Draft release