We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cb444a + 5b6635b commit b156457Copy full SHA for b156457
appveyor.yml
@@ -2,10 +2,22 @@ image: Visual Studio 2017
2
configuration: Release
3
version: '{build}'
4
5
+install:
6
+- ps: >-
7
+ if ($env:APPVEYOR_REPO_TAG -eq "false")
8
+ {
9
+ $env:COMMIT_DESCRIPTION = git describe --tags
10
+ }
11
+ else
12
13
+ $env:COMMIT_DESCRIPTION = $env:APPVEYOR_REPO_TAG_NAME
14
15
+ Write-Host Build version is $env:COMMIT_DESCRIPTION
16
+
17
dotnet_csproj:
18
patch: true
19
file: 'Medium\Medium.csproj'
- version: $(appveyor_repo_tag_name)
20
+ version: $(commit_description)
21
22
before_build:
23
- cmd: dotnet restore
@@ -25,4 +37,4 @@ deploy:
25
37
api_key:
26
38
secure: y7n963kT1eor3dpj742k0mwnMPXsWGnljEGlfUr2zaGgqtMOJ4OegiWmLctuGYlY
27
39
on:
28
- appveyor_repo_tag: master
40
+ appveyor_repo_tag: true
0 commit comments