Skip to content

Commit 43601a1

Browse files
cosmo0920patrick-stephens
authored andcommitted
workflows: Make not to be the latest release for 4.0 branch
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 770de3d commit 43601a1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/staging-release.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,9 +831,20 @@ jobs:
831831
target_commitish: '3.2'
832832
make_latest: false
833833

834-
- name: Release 4.0 and latest
834+
- name: Release 4.0 - not latest
835835
uses: softprops/action-gh-release@v2
836836
if: startsWith(inputs.version, '4.0')
837+
with:
838+
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
839+
draft: false
840+
generate_release_notes: true
841+
name: "Fluent Bit ${{ inputs.version }}"
842+
tag_name: v${{ inputs.version }}
843+
make_latest: false
844+
845+
- name: Release 4.1 and latest
846+
uses: softprops/action-gh-release@v2
847+
if: startsWith(inputs.version, '4.1')
837848
with:
838849
body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
839850
draft: false

0 commit comments

Comments
 (0)