Skip to content

Commit bd80a64

Browse files
committed
more informative commit descriptions
1 parent acb24ba commit bd80a64

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/generate-symbols.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
- name: Commit symbol updates
195195
uses: stefanzweifel/git-auto-commit-action@v5
196196
with:
197-
commit_message: Auto-update symbols
197+
commit_message: Auto-update symbols for Linux DF version ${{ inputs.version }}
198198
repository: xml
199199
commit_user_name: DFHack-Urist via GitHub Actions
200200
commit_user_email: 63161697+DFHack-Urist@users.noreply.github.com
@@ -297,7 +297,7 @@ jobs:
297297
- name: Commit symbol updates
298298
uses: stefanzweifel/git-auto-commit-action@v5
299299
with:
300-
commit_message: Auto-update symbols
300+
commit_message: Auto-update symbols for Windows DF version ${{ inputs.version }}
301301
repository: xml
302302
commit_user_name: DFHack-Urist via GitHub Actions
303303
commit_user_email: 63161697+DFHack-Urist@users.noreply.github.com
@@ -361,6 +361,7 @@ jobs:
361361
done
362362
df_ver=`./dfhack-run.exe lua 'print(dfhack.gui.getDFViewscreen(true).str_version)'`
363363
echo "Found version string: '$df_ver'"
364+
echo "DETECTED_DF_VER=$df_ver" >>$GITHUB_ENV
364365
sed -i "s/v0.50.0 win64 STEAM/v0.$df_ver win64 STEAM/" ../xml/symbols.xml
365366
./dfhack-run.exe die || true
366367
- name: Merge updates
@@ -375,7 +376,7 @@ jobs:
375376
- name: Commit symbol updates
376377
uses: stefanzweifel/git-auto-commit-action@v5
377378
with:
378-
commit_message: Auto-update Windows DF version in symbols
379+
commit_message: Auto-update Windows DF version ${{ env.DETECTED_DF_VER }} in symbols
379380
repository: xml
380381
commit_user_name: DFHack-Urist via GitHub Actions
381382
commit_user_email: 63161697+DFHack-Urist@users.noreply.github.com
@@ -405,7 +406,7 @@ jobs:
405406
- name: Commit ref update
406407
uses: stefanzweifel/git-auto-commit-action@v5
407408
with:
408-
commit_message: Auto-update structures ref
409+
commit_message: Auto-update structures ref for ${{ env.DETECTED_DF_VER }}
409410
commit_user_name: DFHack-Urist via GitHub Actions
410411
commit_user_email: 63161697+DFHack-Urist@users.noreply.github.com
411412
- name: Launch steam-deploy

0 commit comments

Comments
 (0)