Skip to content

Commit

Permalink
workflows: ensure only master releases are marked latest (fluent#8856)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Stephens <[email protected]>
Signed-off-by: Markus Bergholz <[email protected]>
  • Loading branch information
patrick-stephens authored and markuman committed May 29, 2024
1 parent 2bae6dc commit 89d92ba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/staging-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ jobs:
name: "Fluent Bit ${{ inputs.version }}"
tag_name: v${{ inputs.version }}
target_commitish: '2.0'
make_latest: false

- name: Release 2.1 - not latest
uses: softprops/action-gh-release@v2
Expand All @@ -804,6 +805,7 @@ jobs:
name: "Fluent Bit ${{ inputs.version }}"
tag_name: v${{ inputs.version }}
target_commitish: '2.1'
make_latest: false

- name: Release 2.2 - not latest
uses: softprops/action-gh-release@v2
Expand All @@ -815,6 +817,7 @@ jobs:
name: "Fluent Bit ${{ inputs.version }}"
tag_name: v${{ inputs.version }}
target_commitish: '2.2'
make_latest: false

- name: Release 3.0 and latest
uses: softprops/action-gh-release@v2
Expand All @@ -825,6 +828,7 @@ jobs:
generate_release_notes: true
name: "Fluent Bit ${{ inputs.version }}"
tag_name: v${{ inputs.version }}
make_latest: true

staging-release-windows-checksums:
name: Get Windows checksums for new release
Expand Down

0 comments on commit 89d92ba

Please sign in to comment.