mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-22 21:40:35 +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
|
||||
- name: Checkout Repository
|
||||
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
|
||||
run: |
|
||||
markdown_to_bbcodesteam -i "CHANGELOG.md" -o "CHANGELOG-BBCODE.txt";
|
||||
markdown_to_bbcodesteam -i "CHANGELOG-SHORT.md" -o "CHANGELOG-BBCODE.txt";
|
||||
shell: pwsh
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
@ -41,3 +44,4 @@ jobs:
|
||||
signoff: false
|
||||
add-paths: |
|
||||
CHANGELOG-BBCODE.txt
|
||||
CHANGELOG-SHORT.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user