mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-23 15:40:23 +00:00
chore(ci): Generate a shortened changelog and use that to generate the Steam BBCode changelog
This commit is contained in:
parent
268213e6af
commit
8bd109a14e
6
.github/workflows/generate_changelog.yml
vendored
6
.github/workflows/generate_changelog.yml
vendored
@ -25,9 +25,12 @@ jobs:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Shorten Changelog
|
||||||
|
run : |
|
||||||
|
awk '/^## / {count++} count <= 2 {print;}' CHANGELOG.md > CHANGELOG-SHORT.md
|
||||||
- name: Create BB Code Changelog for Steam
|
- name: Create BB Code Changelog for Steam
|
||||||
run: |
|
run: |
|
||||||
markdown_to_bbcodesteam -i "CHANGELOG.md" -o "CHANGELOG-BBCODE.txt";
|
markdown_to_bbcodesteam -i "CHANGELOG-SHORT.md" -o "CHANGELOG-BBCODE.txt";
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
@ -41,3 +44,4 @@ jobs:
|
|||||||
signoff: false
|
signoff: false
|
||||||
add-paths: |
|
add-paths: |
|
||||||
CHANGELOG-BBCODE.txt
|
CHANGELOG-BBCODE.txt
|
||||||
|
CHANGELOG-SHORT.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user