mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[appveyor] match AppVeyor version with git tag or SHA-1
* Also add a GPLv3 badge
This commit is contained in:
parent
6a4cc1acb5
commit
b808b67769
3 changed files with 15 additions and 6 deletions
10
appveyor.yml
10
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue