Update trim in FILEVERSION variable

This commit is contained in:
Barichello 2022-02-06 14:41:54 -03:00
parent 1ffd7a0194
commit 31a5919aa4
No known key found for this signature in database
GPG Key ID: 29197D315AE4FF67
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ jobs:
shell: bash
run: |
sed -i 's/DEV/${{ env.NORTHSTAR_VERSION }}/g' LauncherInjector/resources.rc
FILEVERSION=$(echo ${{ env.NORTHSTAR_VERSION }} | tr '.' ',' | tr -d 'v')
FILEVERSION=$(echo ${{ env.NORTHSTAR_VERSION }} | tr '.' ',' | tr -d '[:alpha:]')
sed -i "s/0,0,0,0/${FILEVERSION}/g" LauncherInjector/resources.rc
- name: Build
run: msbuild /p:Configuration=Release