File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 6969 just check
7070
7171 - name : Maximize Build Space
72+ if : contains(fromJson('["workflow_dispatch", "workflow_call"]'), github.event_name) || github.event.schedule == '41 6 * * 0'
7273 uses : ublue-os/remove-unwanted-software@v7
7374
7475 - name : Build ISO
Original file line number Diff line number Diff line change 3838 if : contains(fromJson('["stable", "bazzite"]'), inputs.target)
3939 shell : bash
4040 run : |
41+ set -eoux pipefail
4142 touch url.md
4243 for artifact in $(find url-${{ inputs.target }}-*);
4344 do
@@ -48,19 +49,18 @@ jobs:
4849 - name : Generate Release Text
4950 id : generate-release
5051 run : |
52+ set -eoux pipefail
5153 python3 ./changelogs.py \
5254 "${{ inputs.target }}" \
53- ./output.env ./changelog.md --workdir . --handwritten "${{ inputs.handwritten }}" --urlmd "${{ steps.merge-artifacts.outputs.urlmd }}"
54- source ./output.env
55- echo "title=${TITLE}" >> $GITHUB_OUTPUT
56- echo "tag=${TAG}" >> $GITHUB_OUTPUT
55+ ./output-${{ inputs.target }}.env ./changelog-${{ inputs.target }}.md --workdir . --handwritten "${{ inputs.handwritten }}" --urlmd "${{ steps.merge-artifacts.outputs.urlmd }}"
56+ source ./output-${{ inputs.target }}.env
5757
5858 - name : Upload Changelogs as Artifact
5959 uses : actions/upload-artifact@v4
6060 with :
6161 name : changelogs-${{ inputs.target }}
6262 path :
63- ./changelog.md
63+ ./changelog-${{ inputs.target }} .md
6464 if-no-files-found : error
6565 retention-days : 0
6666 compression-level : 0
Original file line number Diff line number Diff line change @@ -15,19 +15,22 @@ jobs:
1515 name : Create Release
1616 runs-on : ubuntu-latest
1717 steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
1821 - name : Download Artifacts
1922 uses : actions/download-artifact@v4
2023 with :
21- pattern : changelogs* *
22- merge-multiple : false
24+ pattern : changelogs- *
25+ merge-multiple : true
2326 run-id : ${{ inputs.run-id || github.run_id }}
2427
2528 - name : Prepare Release
2629 id : prepare-release
2730 shell : bash
2831 run : |
2932 set -eoux pipefail
30- cat changelogs-*/ changelog.md > > changelog.md
33+ cat changelog* .md > changelog.md
3134 last_tag=$(git tag --list m2os-* | sort -r | head -1)
3235 date_extract="$(echo ${last_tag:-} | cut -d "-" -f 2 | cut -d "." -f 1)"
3336 date_version="$(echo ${last_tag:-} | cut -d "." -f 2)"
Original file line number Diff line number Diff line change 11m2os_ *
22previous.manifest *
3+ changelog- * .md
34changelog.md
5+ output- * .env
46output.env
57version.txt
Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ run-iso image="bluefin":
436436changelogs branch = " stable" urlmd = " " handwritten = " ":
437437 #!/ usr/ bin/ bash
438438 set -eoux pipefail
439- python3 changelogs.py {{ branch }} ./ output.env ./ changelog.md --workdir . --handwritten " {{ handwritten }} " --urlmd " {{ urlmd }} "
439+ python3 changelogs.py {{ branch }} ./ output- {{ branch }} .env ./ changelog- {{ branch }} .md --workdir . --handwritten " {{ handwritten }} " --urlmd " {{ urlmd }} "
440440
441441# Verify Container with Cosign
442442[group (' Utility' )]
You can’t perform that action at this time.
0 commit comments