1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[ci] set MinGW to produce ALPHA or BETA off release

* Also avoid tagged release duplication
This commit is contained in:
Pete Batard 2021-09-28 16:03:36 +01:00
parent aba6c7d996
commit fba24170e1
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
5 changed files with 20 additions and 7 deletions

View file

@ -2,6 +2,7 @@ name: Coverity
on:
push:
branches: [master]
paths-ignore:
- '.gitignore'
- '.gitattributes'

View file

@ -13,6 +13,7 @@ on:
- '**.txt'
- '**.xml'
pull_request:
branches: [master]
paths-ignore:
- '.gitignore'
- '.gitattributes'
@ -56,9 +57,19 @@ jobs:
fetch-depth: 0
submodules: recursive
- name: Set ALPHA
id: set_alpha
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
run: echo "::set-output name=option::--enable-alpha"
- name: Set BETA
id: set_beta
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'BETA') }}
run: echo "::set-output name=option::--enable-beta"
- name: Build
run: |
./configure --disable-debug
./configure --disable-debug ${{ steps.set_alpha.outputs.option }} ${{ steps.set_beta.outputs.option }}
make -j4
mv ./src/rufus.exe .
strip ./rufus.exe

View file

@ -13,6 +13,7 @@ on:
- '**.txt'
- '**.xml'
pull_request:
branches: [master]
paths-ignore:
- '.gitignore'
- '.gitattributes'

View file

@ -11,7 +11,7 @@
<Identity
Name="19453.net.Rufus"
Publisher="CN=7AC86D13-3E5A-491A-ADD5-80095C212740"
Version="3.16.1824.0" />
Version="3.16.1825.0" />
<Properties>
<DisplayName>Rufus</DisplayName>

View file

@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 232, 326
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 3.16.1824"
CAPTION "Rufus 3.16.1825"
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
@ -395,8 +395,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,16,1824,0
PRODUCTVERSION 3,16,1824,0
FILEVERSION 3,16,1825,0
PRODUCTVERSION 3,16,1825,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -414,13 +414,13 @@ BEGIN
VALUE "Comments", "https://rufus.ie"
VALUE "CompanyName", "Akeo Consulting"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "3.16.1824"
VALUE "FileVersion", "3.16.1825"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2021 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
VALUE "OriginalFilename", "rufus-3.16.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "3.16.1824"
VALUE "ProductVersion", "3.16.1825"
END
END
BLOCK "VarFileInfo"