@@ -502,7 +502,9 @@ jobs:
502
502
TAG : ${{ steps.get-tag.outputs.tag }}
503
503
504
504
staging-release-images-latest-tags :
505
- # Only update latest tags for 4.0 releases
505
+ # NOTE: Before releasing 4.1, we need to change '4.' to '4.1'
506
+ # Meanwhile, we need to release 4.0 series as stable releases.
507
+ # Only update latest tags for 4. releases
506
508
if : startsWith(github.event.inputs.version, '4.')
507
509
name : Release latest Linux container images
508
510
runs-on : ubuntu-latest
@@ -829,7 +831,7 @@ jobs:
829
831
target_commitish : ' 3.2'
830
832
make_latest : false
831
833
832
- - name : Release 4.0 and latest
834
+ - name : Release 4.0 - not latest
833
835
uses : softprops/action-gh-release@v2
834
836
if : startsWith(inputs.version, '4.0')
835
837
with :
@@ -840,6 +842,17 @@ jobs:
840
842
tag_name : v${{ inputs.version }}
841
843
make_latest : true
842
844
845
+ - name : Release 4.1 and latest
846
+ uses : softprops/action-gh-release@v2
847
+ if : startsWith(inputs.version, '4.1')
848
+ with :
849
+ body : " https://fluentbit.io/announcements/v${{ inputs.version }}/"
850
+ draft : false
851
+ generate_release_notes : true
852
+ name : " Fluent Bit ${{ inputs.version }}"
853
+ tag_name : v${{ inputs.version }}
854
+ make_latest : true
855
+
843
856
staging-release-windows-checksums :
844
857
name : Get Windows checksums for new release
845
858
runs-on : ubuntu-22.04
@@ -948,13 +961,20 @@ jobs:
948
961
token : ${{ secrets.GH_PA_TOKEN }}
949
962
ref : 3.2
950
963
951
- - name : Release 4.0 and latest
964
+ - name : Release 4.0 - not latest
952
965
if : startsWith(inputs.version, '4.0')
953
966
uses : actions/checkout@v4
954
967
with :
955
968
repository : fluent/fluent-bit-docs
956
969
token : ${{ secrets.GH_PA_TOKEN }}
957
970
971
+ - name : Release 4.1 and latest
972
+ if : startsWith(inputs.version, '4.1')
973
+ uses : actions/checkout@v4
974
+ with :
975
+ repository : fluent/fluent-bit-docs
976
+ token : ${{ secrets.GH_PA_TOKEN }}
977
+
958
978
- name : Ensure we have the script we need
959
979
run : |
960
980
if [[ ! -f update-release-version-docs.sh ]] ; then
0 commit comments