Skip to content

Commit

Permalink
Work CD-CI
Browse files Browse the repository at this point in the history
- Update Azure Pipelines yaml.
- Fix version config.

***NO_CI***
  • Loading branch information
josesimoes committed Jun 16, 2020
1 parent 4c48cab commit 8e74fd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
trigger:
branches:
include: ["master", "develop", "release*", "refs/tags/*" ]
include: [master, develop, "release-*" ]
paths:
exclude: [ "doc", "*.md", ".gitignore", "README.md" ]
exclude: ["*.md", .gitignore]
tags:
include: ["v*"]

# no pr config, we want to trigger builds for all PRs on all branches
# PR always trigger build

# add nf-tools repo to resources (for Azure Pipelines templates)
resources:
Expand All @@ -18,6 +20,7 @@ pool:
vmImage: 'VS2017-Win2016'

variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
solution: '**/source/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
Expand Down
3 changes: 2 additions & 1 deletion source/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"release": {
"branchName": "release-v{version}",
"firstUnstableTag": "preview"
"firstUnstableTag": "preview",
"versionIncrement": "build"
}
}

0 comments on commit 8e74fd5

Please sign in to comment.