mirror of
https://github.com/PCSX2/pcsx2-installer.git
synced 2024-10-06 23:23:24 +00:00
Use proper semver for the installer version
This commit is contained in:
parent
fdbacc0b39
commit
882baa5f55
9
.github/workflows/create-installer.yml
vendored
9
.github/workflows/create-installer.yml
vendored
@ -44,10 +44,17 @@ jobs:
|
||||
run: |
|
||||
"C:\Program Files\7-Zip\7z.exe" x -o.\main pcsx2-${{steps.release_download.outputs.tag_name}}-windows-x64-Qt.7z
|
||||
|
||||
- name: Get our version tag
|
||||
shell: bash
|
||||
run: |
|
||||
TAG_NAME=${{ steps.release_download.outputs.tag_name }}
|
||||
VERSION=${TAG_NAME#v}
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
- name: Inject Release Tag into Installer Script
|
||||
shell: bash
|
||||
run: |
|
||||
sed -i 's/PCSX2_VERSION_STRING/${{steps.release_download.outputs.tag_name}}/g' 'PCSX2 Installer.iss'
|
||||
sed -i 's/PCSX2_VERSION_STRING/'"$VERSION"'/g' 'PCSX2 Installer.iss'
|
||||
|
||||
- uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
|
||||
name: Build the Release
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#define MyAppName "PCSX2"
|
||||
|
||||
; Automatically changed by the GitHub action. An example would be "v2.0.0"
|
||||
; Automatically changed by the GitHub action. An example would be "2.0.0"
|
||||
#define MyAppVersion "PCSX2_VERSION_STRING"
|
||||
#define MyAppPublisher "PCSX2 Team"
|
||||
#define MyAppURL "https:/pcsx2.net/"
|
||||
@ -35,7 +35,7 @@ DefaultGroupName={#MyAppName}
|
||||
DefaultDirName={commonpf64}\{#MyAppName}
|
||||
|
||||
OutputDir=PCSX2
|
||||
OutputBaseFilename={#MyAppName}-{#MyAppVersion}-windows-x64-installer
|
||||
OutputBaseFilename={#MyAppName}-v{#MyAppVersion}-windows-x64-installer
|
||||
|
||||
; InfoAfterFile=README.txt
|
||||
UninstallDisplayIcon={app}\{#MyAppExeName},0
|
||||
|
Loading…
Reference in New Issue
Block a user