From c5098722e5037792a59257037b8f6376fca7d0c8 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Tue, 7 Oct 2025 17:03:36 +0900 Subject: [PATCH 1/2] workflows: Make not to be the latest release for 4.0 branch Signed-off-by: Hiroshi Hatake --- .github/workflows/staging-release.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/staging-release.yaml b/.github/workflows/staging-release.yaml index 2521150710c..aa4ac4a4a34 100644 --- a/.github/workflows/staging-release.yaml +++ b/.github/workflows/staging-release.yaml @@ -831,9 +831,20 @@ jobs: target_commitish: '3.2' make_latest: false - - name: Release 4.0 and latest + - name: Release 4.0 - not latest uses: softprops/action-gh-release@v2 if: startsWith(inputs.version, '4.0') + with: + body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" + draft: false + generate_release_notes: true + name: "Fluent Bit ${{ inputs.version }}" + tag_name: v${{ inputs.version }} + make_latest: false + + - name: Release 4.1 and latest + uses: softprops/action-gh-release@v2 + if: startsWith(inputs.version, '4.1') with: body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" draft: false From c37031f503db007e836871645c6badcbe6fb1cb0 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Fri, 10 Oct 2025 18:42:22 +0900 Subject: [PATCH 2/2] workflows: Add 4.1 entry for Doc PR Signed-off-by: Hiroshi Hatake --- .github/workflows/staging-release.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/staging-release.yaml b/.github/workflows/staging-release.yaml index aa4ac4a4a34..2841661bce4 100644 --- a/.github/workflows/staging-release.yaml +++ b/.github/workflows/staging-release.yaml @@ -961,12 +961,20 @@ jobs: token: ${{ secrets.GH_PA_TOKEN }} ref: 3.2 - - name: Release 4.0 and latest + - name: Release 4.0 - not latest if: startsWith(inputs.version, '4.0') uses: actions/checkout@v5 with: repository: fluent/fluent-bit-docs token: ${{ secrets.GH_PA_TOKEN }} + ref: 4.0 + + - name: Release 4.1 and latest + if: startsWith(inputs.version, '4.1') + uses: actions/checkout@v5 + with: + repository: fluent/fluent-bit-docs + token: ${{ secrets.GH_PA_TOKEN }} - name: Ensure we have the script we need run: |