From b808b67769172d2046919845b03c6c0100568ced Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Sat, 6 Aug 2016 19:01:05 +0200 Subject: [PATCH] [appveyor] match AppVeyor version with git tag or SHA-1 * Also add a GPLv3 badge --- README.md | 1 + appveyor.yml | 10 +++++++++- src/rufus.rc | 10 +++++----- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ef5c8a50..9750aae5 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Rufus: The Reliable USB Formatting Utility [![Build status](https://ci.appveyor.com/api/projects/status/0nciqepn6hko4to9?svg=true)](https://ci.appveyor.com/project/pbatard/rufus) [![Coverity Scan Build Status](https://scan.coverity.com/projects/2172/badge.svg)](https://scan.coverity.com/projects/pbatard-rufus) +[![Licence](https://img.shields.io/badge/license-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html) ![Rufus logo](https://raw.githubusercontent.com/pbatard/rufus/master/res/icon-set/rufus-128.png) diff --git a/appveyor.yml b/appveyor.yml index d27345fb..600c01d9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,15 @@ -version: appveyor_build{build} +version: avb{build} os: Visual Studio 2015 +init: + - ps: >- + if ($env:appveyor_repo_tag -eq "true") { + Update-AppveyorBuild -Version "$env:appveyor_repo_tag_name" + } else { + Update-AppveyorBuild -Version "dev-$($env:appveyor_repo_commit.substring(0,7))" + } + environment: global: PLATFORMTOOLSET: v140 diff --git a/src/rufus.rc b/src/rufus.rc index 6524cc9e..d2fd6ada 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.10.979" +CAPTION "Rufus 2.10.980" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -320,8 +320,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,10,979,0 - PRODUCTVERSION 2,10,979,0 + FILEVERSION 2,10,980,0 + PRODUCTVERSION 2,10,980,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -338,13 +338,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.10.979" + VALUE "FileVersion", "2.10.980" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.10.979" + VALUE "ProductVersion", "2.10.980" END END BLOCK "VarFileInfo"