add skip build on tag

This commit is contained in:
Jeremy Wu 2025-06-14 22:56:08 +10:00 committed by GitHub
parent 34f53fd6b0
commit d9a30f6450
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,8 @@
version: '1.20.1.{build}'
# Do not build on tags because we create a release on merge to master. Otherwise will upload artifacts twice changing the hash, as well as triggering duplicate GitHub release action & NuGet deployments.
skip_tags: true
init:
- ps: |
$version = new-object System.Version $env:APPVEYOR_BUILD_VERSION
@ -14,7 +17,6 @@ init:
cache:
- '%USERPROFILE%\.nuget\packages -> **.sln, **.csproj' # preserve nuget folder (packages) unless the solution or projects change
assembly_info:
patch: true
file: SolutionAssemblyInfo.cs