Skip to content

Commit

Permalink
Allow to tag with version without v prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed May 11, 2019
1 parent 9b2ec2e commit ea13b33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Expand Up @@ -9,14 +9,14 @@ install:
nuget restore Markdig.sln
$env:MARKDIG_BUILD_NUMBER = ([int]$env:APPVEYOR_BUILD_NUMBER).ToString("000")
$env:MARKDIG_VERSION_SUFFIX = ""
$env:appveyor_nuget_push = 'false'
if(-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
if($env:appveyor_repo_tag -eq 'True') {
if($env:appveyor_repo_tag_name -match '^v[0-9]') {
if($env:appveyor_repo_tag_name -match '^[0-9]') {
$env:appveyor_nuget_push = 'true'
$env:MARKDIG_VERSION_SUFFIX = ""
}
Expand Down

0 comments on commit ea13b33

Please sign in to comment.