@@ -504,6 +504,7 @@ jobs:
504504 staging-release-images-latest-tags :
505505 # Only update latest tags for 3.1 releases
506506 if : startsWith(github.event.inputs.version, '3.1')
507+ # if: startsWith(github.event.inputs.version, '4.0')
507508 name : Release latest Linux container images
508509 runs-on : ubuntu-latest
509510 needs :
@@ -804,6 +805,7 @@ jobs:
804805 make_latest : false
805806
806807 - name : Release 3.1 and latest
808+ # TODO: change to 3.1 branch once 4.0 series is ready
807809 uses : softprops/action-gh-release@v2
808810 if : startsWith(inputs.version, '3.1')
809811 with :
@@ -814,6 +816,17 @@ jobs:
814816 tag_name : v${{ inputs.version }}
815817 make_latest : true
816818
819+ # - name: Release 4.0 and latest
820+ # uses: softprops/action-gh-release@v2
821+ # if: startsWith(inputs.version, '4.0')
822+ # with:
823+ # body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"
824+ # draft: false
825+ # generate_release_notes: true
826+ # name: "Fluent Bit ${{ inputs.version }}"
827+ # tag_name: v${{ inputs.version }}
828+ # make_latest: true
829+
817830 staging-release-windows-checksums :
818831 name : Get Windows checksums for new release
819832 runs-on : ubuntu-22.04
@@ -903,15 +916,24 @@ jobs:
903916 uses : actions/checkout@v4
904917 with :
905918 repository : fluent/fluent-bit-docs
919+ ref : 3.0
906920 token : ${{ secrets.GH_PA_TOKEN }}
907921
908922 - name : Release 3.1 and latest
923+ # TODO: change to 3.1 branch once 4.0 series is ready
909924 if : startsWith(inputs.version, '3.1')
910925 uses : actions/checkout@v4
911926 with :
912927 repository : fluent/fluent-bit-docs
913928 token : ${{ secrets.GH_PA_TOKEN }}
914929
930+ # - name: Release 4.0 and latest
931+ # if: startsWith(inputs.version, '4.0')
932+ # uses: actions/checkout@v4
933+ # with:
934+ # repository: fluent/fluent-bit-docs
935+ # token: ${{ secrets.GH_PA_TOKEN }}
936+
915937 - name : Ensure we have the script we need
916938 run : |
917939 if [[ ! -f update-release-version-docs.sh ]] ; then
@@ -984,15 +1006,23 @@ jobs:
9841006 with :
9851007 ref : 2.2
9861008
987- - name : Release 3.0 not latest
1009+ - name : Release 3.0
9881010 if : startsWith(inputs.version, '3.0')
9891011 uses : actions/checkout@v4
9901012 with :
9911013 ref : 3.0
9921014
993- - name : Release 3.1 latest
1015+ - name : Release 3.1
9941016 if : startsWith(inputs.version, '3.1')
9951017 uses : actions/checkout@v4
1018+ with :
1019+ ref : 3.1
1020+
1021+ - name : Release 4.0
1022+ if : startsWith(inputs.version, '4.0')
1023+ uses : actions/checkout@v4
1024+ with :
1025+ ref : master
9961026
9971027 # Get the new version to use
9981028 - name : ' Get next minor version'
0 commit comments