File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ jobs:
147147 done
148148 df_ver=`./dfhack-run lua 'print(dfhack.gui.getDFViewscreen(true).str_version)' | ansifilter`
149149 echo "Found version string: '$df_ver'"
150+ echo "DETECTED_DF_VER=$df_ver" >>$GITHUB_ENV
150151 sed -i "s/v0.50.0 linux64 STEAM/v0.$df_ver linux64 STEAM/" ../xml/symbols.xml
151152 ./dfhack-run die || true
152153 fi
@@ -194,7 +195,7 @@ jobs:
194195 - name : Commit symbol updates
195196 uses : stefanzweifel/git-auto-commit-action@v5
196197 with :
197- commit_message : Auto-update symbols for Linux DF version ${{ inputs.version }}
198+ commit_message : Auto-update symbols for Linux DF version ${{ env.DETECTED_DF_VER || inputs.version }}
198199 repository : xml
199200 commit_user_name : DFHack-Urist via GitHub Actions
200201 commit_user_email : 63161697+DFHack-Urist@users.noreply.github.com
@@ -376,7 +377,7 @@ jobs:
376377 - name : Commit symbol updates
377378 uses : stefanzweifel/git-auto-commit-action@v5
378379 with :
379- commit_message : Auto-update Windows DF version ${{ env.DETECTED_DF_VER }} in symbols
380+ commit_message : Auto-update Windows DF version to ${{ env.DETECTED_DF_VER }} in symbols
380381 repository : xml
381382 commit_user_name : DFHack-Urist via GitHub Actions
382383 commit_user_email : 63161697+DFHack-Urist@users.noreply.github.com
You can’t perform that action at this time.
0 commit comments