mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-31 14:58:26 -04:00
[appstore] prevent packaging of ALPHA or BETA versions
* Also add package version override
This commit is contained in:
parent
b63f9ae93c
commit
f6fd520d2a
4 changed files with 46 additions and 15 deletions
8
.github/workflows/mingw.yml
vendored
8
.github/workflows/mingw.yml
vendored
|
@ -63,14 +63,18 @@ jobs:
|
|||
shell: bash
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
# This ONLY works if the shell is bash or if using $env:GITHUB_OUTPUT
|
||||
run: echo "option=--enable-alpha" >> $GITHUB_OUTPUT
|
||||
run: |
|
||||
echo "option=--enable-alpha" >> $GITHUB_OUTPUT
|
||||
sed -b -i 's/VALUE "InternalName", "Rufus"/VALUE "InternalName", "Rufus (ALPHA)"/' ./src/rufus.rc
|
||||
|
||||
- name: Set BETA
|
||||
id: set_beta
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'BETA') }}
|
||||
# This ONLY works if the shell is bash or if using $env:GITHUB_OUTPUT
|
||||
run: echo "option=--enable-beta" >> $GITHUB_OUTPUT
|
||||
run: |
|
||||
echo "option=--enable-beta" >> $GITHUB_OUTPUT
|
||||
sed -b -i 's/VALUE "InternalName", "Rufus"/VALUE "InternalName", "Rufus (BETA)"/' ./src/rufus.rc
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
|
8
.github/workflows/vs2022.yml
vendored
8
.github/workflows/vs2022.yml
vendored
|
@ -54,14 +54,18 @@ jobs:
|
|||
shell: bash
|
||||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
# This ONLY works if the shell is bash or if using $env:GITHUB_OUTPUT
|
||||
run: echo "option=/DALPHA" >> $GITHUB_OUTPUT
|
||||
run: |
|
||||
echo "option=/DALPHA" >> $GITHUB_OUTPUT
|
||||
sed -b -i 's/VALUE "InternalName", "Rufus"/VALUE "InternalName", "Rufus (ALPHA)"/' ./src/rufus.rc
|
||||
|
||||
- name: Set BETA
|
||||
id: set_beta
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'BETA') }}
|
||||
# This ONLY works if the shell is bash or if using $env:GITHUB_OUTPUT
|
||||
run: echo "option=/DBETA" >> $GITHUB_OUTPUT
|
||||
run: |
|
||||
echo "option=/DBETA" >> $GITHUB_OUTPUT
|
||||
sed -b -i 's/VALUE "InternalName", "Rufus"/VALUE "InternalName", "Rufus (BETA)"/' ./src/rufus.rc
|
||||
|
||||
- name: Build
|
||||
shell: cmd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue