|
67 | 67 | - name: Checkout repository |
68 | 68 | uses: actions/checkout@v4 |
69 | 69 |
|
70 | | - # Check we can download the AppVeyor build which confirms it matches the version to release as well as being a successful build |
71 | | - - name: Get Appveyor binaries |
72 | | - run: | |
73 | | - ./packaging/appveyor-download.sh |
74 | | - shell: bash |
75 | | - env: |
76 | | - TAG: v${{ github.event.inputs.version }} |
77 | | - |
78 | 70 | staging-release-generate-package-matrix: |
79 | 71 | name: Get package matrix |
80 | 72 | runs-on: ubuntu-latest |
@@ -356,14 +348,6 @@ jobs: |
356 | 348 | AWS_REGION: "us-east-1" |
357 | 349 | shell: bash |
358 | 350 |
|
359 | | - - name: Get Appveyor binaries |
360 | | - run: | |
361 | | - ./packaging/appveyor-download.sh |
362 | | - shell: bash |
363 | | - env: |
364 | | - TAG: v${{ github.event.inputs.version }} |
365 | | - OUTPUT_DIR: appveyor |
366 | | - |
367 | 351 | - name: Move components from staging and setup |
368 | 352 | run: | |
369 | 353 | ./packaging/update-source-packages.sh |
@@ -518,8 +502,8 @@ jobs: |
518 | 502 | TAG: ${{ steps.get-tag.outputs.tag }} |
519 | 503 |
|
520 | 504 | staging-release-images-latest-tags: |
521 | | - # Only update latest tags for 3.0 releases |
522 | | - if: startsWith(github.event.inputs.version, '3.0') |
| 505 | + # Only update latest tags for 3.1 releases |
| 506 | + if: startsWith(github.event.inputs.version, '3.1') |
523 | 507 | name: Release latest Linux container images |
524 | 508 | runs-on: ubuntu-latest |
525 | 509 | needs: |
@@ -807,21 +791,21 @@ jobs: |
807 | 791 | target_commitish: '2.1' |
808 | 792 | make_latest: false |
809 | 793 |
|
810 | | - - name: Release 2.2 - not latest |
| 794 | + - name: Release 3.0 - not latest |
811 | 795 | uses: softprops/action-gh-release@v2 |
812 | | - if: startsWith(inputs.version, '2.2') |
| 796 | + if: startsWith(inputs.version, '3.0') |
813 | 797 | with: |
814 | 798 | body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" |
815 | 799 | draft: false |
816 | 800 | generate_release_notes: true |
817 | 801 | name: "Fluent Bit ${{ inputs.version }}" |
818 | 802 | tag_name: v${{ inputs.version }} |
819 | | - target_commitish: '2.2' |
| 803 | + target_commitish: '3.0' |
820 | 804 | make_latest: false |
821 | 805 |
|
822 | | - - name: Release 3.0 and latest |
| 806 | + - name: Release 3.1 and latest |
823 | 807 | uses: softprops/action-gh-release@v2 |
824 | | - if: startsWith(inputs.version, '3.0') |
| 808 | + if: startsWith(inputs.version, '3.1') |
825 | 809 | with: |
826 | 810 | body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" |
827 | 811 | draft: false |
@@ -914,13 +898,20 @@ jobs: |
914 | 898 | ref: 2.2 |
915 | 899 | token: ${{ secrets.GH_PA_TOKEN }} |
916 | 900 |
|
917 | | - - name: Release 3.0 and latest |
| 901 | + - name: Release 3.0 - not latest |
918 | 902 | if: startsWith(inputs.version, '3.0') |
919 | 903 | uses: actions/checkout@v4 |
920 | 904 | with: |
921 | 905 | repository: fluent/fluent-bit-docs |
922 | 906 | token: ${{ secrets.GH_PA_TOKEN }} |
923 | 907 |
|
| 908 | + - name: Release 3.1 and latest |
| 909 | + if: startsWith(inputs.version, '3.1') |
| 910 | + uses: actions/checkout@v4 |
| 911 | + with: |
| 912 | + repository: fluent/fluent-bit-docs |
| 913 | + token: ${{ secrets.GH_PA_TOKEN }} |
| 914 | + |
924 | 915 | - name: Ensure we have the script we need |
925 | 916 | run: | |
926 | 917 | if [[ ! -f update-release-version-docs.sh ]] ; then |
@@ -993,9 +984,15 @@ jobs: |
993 | 984 | with: |
994 | 985 | ref: 2.2 |
995 | 986 |
|
996 | | - - name: Release 3.0 and latest |
| 987 | + - name: Release 3.0 not latest |
997 | 988 | if: startsWith(inputs.version, '3.0') |
998 | 989 | uses: actions/checkout@v4 |
| 990 | + with: |
| 991 | + ref: 3.0 |
| 992 | + |
| 993 | + - name: Release 3.1 latest |
| 994 | + if: startsWith(inputs.version, '3.1') |
| 995 | + uses: actions/checkout@v4 |
999 | 996 |
|
1000 | 997 | # Get the new version to use |
1001 | 998 | - name: 'Get next minor version' |
|
0 commit comments