Skip to content

Commit

Permalink
[internal] improve AppVeyor build handling
Browse files Browse the repository at this point in the history
* Also fix some typos
  • Loading branch information
pbatard committed Jun 24, 2018
1 parent faebe10 commit ad93a6c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion ChangeLog.txt
Expand Up @@ -3,7 +3,7 @@ o Version 3.1 (2018.06.19)
Fix text being truncated on some dialogs (mostly Russian and Thai)
Add detection & warning about the 'Controlled Folder Access' Windows 10 feature
Improve retry attempts for transient errors
Increase size of the ESP to 300MB, for Windows To Go drives using GPT
Increase size of the ESP to 300MB, for Windows To Go drives partitioned as GPT
Update GRUB 2.0 and Grub4DOS to latest
Update libcdio to latest

Expand Down
29 changes: 19 additions & 10 deletions appveyor.yml
@@ -1,15 +1,9 @@
os: Visual Studio 2017

init:
# Set the AppVeyor build version number to our tag or, if untagged, to the commit hash
# See https://github.com/appveyor/ci/issues/691
# Also include the build number, to distinguish between rebuilds of the same commit
- ps: |
if ($env:APPVEYOR_REPO_TAG -eq "true") {
Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_TAG_NAME)_#$env:APPVEYOR_BUILD_NUMBER"
} else {
Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.Substring(0,8))_#$env:APPVEYOR_BUILD_NUMBER"
}
max_jobs: 4

# May choose to enable the following if we get tired of seeing double AppVeyor builds for tagged and untagged
# skip_non_tags: true

skip_commits:
# Don't run AppVeyor for commits that only modify resource or non-code files
Expand Down Expand Up @@ -51,6 +45,21 @@ environment:
COMPILER: Coverity
PLATFORM: x86_32

init:
# Set the AppVeyor build version number to our tag or, if untagged, to the commit hash
# See https://github.com/appveyor/ci/issues/691
# Also include the build number, to distinguish between rebuilds of the same commit
- ps: |
if ($env:APPVEYOR_REPO_TAG -eq "true") {
Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_TAG_NAME)_#$env:APPVEYOR_BUILD_NUMBER"
} else {
Update-AppveyorBuild -Version "dev-$($env:APPVEYOR_REPO_COMMIT.Substring(0,8))_#$env:APPVEYOR_BUILD_NUMBER"
if ("$env:APPVEYOR_REPO_NAME" -eq "pbatard/rufus" -and "$env:APPVEYOR_REPO_BRANCH" - eq "master") {
Write-Output "Not running dev-build since we expect a tagged commit.";
return;
}
}
build:
project: rufus.sln
parallel: true
Expand Down
2 changes: 1 addition & 1 deletion res/localization/translation_check.py
Expand Up @@ -2,7 +2,7 @@
# -*- coding=utf-8 -*-

# LIMITATIONS
# this script was written as fast as possbile so it is broken/minimalistic:
# this script was written as fast as possible so it is broken/minimalistic:
# it assumes the first language in rufus.loc in English
# written for 1.0.23, things may have changes since then
# horrible code below
Expand Down
10 changes: 5 additions & 5 deletions src/rufus.rc
Expand Up @@ -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.1.1320"
CAPTION "Rufus 3.1.1321"
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
Expand Down Expand Up @@ -389,8 +389,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,1,1320,0
PRODUCTVERSION 3,1,1320,0
FILEVERSION 3,1,1321,0
PRODUCTVERSION 3,1,1321,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -407,13 +407,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "3.1.1320"
VALUE "FileVersion", "3.1.1321"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "� 2011-2018 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "3.1.1320"
VALUE "ProductVersion", "3.1.1321"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit ad93a6c

Please sign in to comment.