Trying to improve release process

This commit is contained in:
Syrus 2019-11-22 12:23:11 -08:00
parent 2fdf39f7fe
commit 8f50dab0f2
2 changed files with 5 additions and 2 deletions

View File

@ -60,3 +60,6 @@ branches:
- master
- staging
- trying
# Making sure Travis runs on new Tags
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/

View File

@ -104,7 +104,7 @@ jobs:
# RUSTFLAGS: -Ctarget-feature=+crt-static
pool:
vmImage: $(imageName)
condition: in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying')
condition: or(in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying'), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
steps:
- checkout: self
submodules: true
@ -167,7 +167,7 @@ jobs:
# RUSTFLAGS: -Ctarget-feature=+crt-static
pool:
vmImage: $(imageName)
condition: in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying')
condition: or(in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/staging', 'refs/heads/trying'), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
steps:
- checkout: self
submodules: true