From efa8a47b8d992316c463bfedf7757f6f4a77bf94 Mon Sep 17 00:00:00 2001 From: Alula <6276139+alula@users.noreply.github.com> Date: Wed, 25 Jan 2023 15:48:39 +0100 Subject: [PATCH] use tag for CI builds if present [ci skip] --- .appveyor.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 91afd8e..02b3c83 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,4 @@ -version: "0.99.0.{build}-{branch}" +version: "0.100.0.{build}-{branch}" skip_commits: files: @@ -43,6 +43,13 @@ for: only: - appveyor_build_worker_image: Visual Studio 2019 + init: + - ps: >- + if ($env:APPVEYOR_REPO_TAG -eq "true") + { + Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME" + } + install: - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe - rustup-init -yv --default-toolchain %channel% --default-host %target% @@ -76,7 +83,14 @@ for: matrix: only: - appveyor_build_worker_image: macos-monterey - + + init: + - ps: >- + if ($env:APPVEYOR_REPO_TAG -eq "true") + { + Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME" + } + install: - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain $channel - export PATH=$PATH:$HOME/.cargo/bin @@ -112,6 +126,13 @@ for: only: - appveyor_build_worker_image: Ubuntu + init: + - ps: >- + if ($env:APPVEYOR_REPO_TAG -eq "true") + { + Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME" + } + install: - sudo apt-get update && sudo apt-get -y install libasound2-dev libudev-dev libgl1-mesa-dev pkg-config - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -yv --default-toolchain $channel --default-host $target