File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,15 @@ jobs:
2424 pattern : changelogs-*
2525 merge-multiple : true
2626 run-id : ${{ inputs.run-id || github.run_id }}
27+ github-token : ${{ github.token }}
2728
2829 - name : Prepare Release
2930 id : prepare-release
3031 shell : bash
3132 run : |
3233 set -eoux pipefail
3334 cat changelog*.md > changelog.md
35+ cat changelog.md
3436 last_tag=$(git tag --list m2os-* | sort -r | head -1)
3537 date_extract="$(echo ${last_tag:-} | cut -d "-" -f 2 | cut -d "." -f 1)"
3638 date_version="$(echo ${last_tag:-} | cut -d "." -f 2)"
4244 echo "title=$tag (#$(git rev-parse --short HEAD))" >> $GITHUB_OUTPUT
4345 echo "tag=$tag" >> $GITHUB_OUTPUT
4446
47+ - name : Upload Changelogs as Artifact
48+ uses : actions/upload-artifact@v4
49+ with :
50+ name : release-changelog
51+ path :
52+ ./changelog.md
53+ if-no-files-found : error
54+ retention-days : 0
55+ compression-level : 0
56+ overwrite : true
57+
4558 - name : Create Release
4659 uses : softprops/action-gh-release@v2
4760 if : contains(fromJson('["workflow_dispatch", "merge_group"]'), github.event_name) || github.event.schedule == '41 6 * * 0'
You can’t perform that action at this time.
0 commit comments