From 81691fe41ace524db0a0f5b8fd014e2a07d862e9 Mon Sep 17 00:00:00 2001 From: Bernie White Date: Sun, 2 Jun 2019 22:24:34 +1000 Subject: [PATCH] Fix tag versions CI (#162) --- CHANGELOG.md | 2 +- pipeline.build.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bec5ca6aa9..e4de7160a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## Unreleased -## v0.6.0-B190614 +## v0.6.0-B190614 (pre-release) - Added rule documentation, which allows additional rule information to be stored in markdown files. [#157](https://github.com/BernieWhite/PSRule/issues/157) - Rule documentation also adds culture support. [#18](https://github.com/BernieWhite/PSRule/issues/18) diff --git a/pipeline.build.ps1 b/pipeline.build.ps1 index 2ecaf76b21..dcdbd23102 100644 --- a/pipeline.build.ps1 +++ b/pipeline.build.ps1 @@ -37,7 +37,7 @@ if ($Env:coverage -eq 'true') { $CodeCoverage = $True; } -if ($Env:BUILD_SOURCEBRANCH -contains '/tags/' -and $Env:BUILD_SOURCEBRANCHNAME -like "v0.") { +if ($Env:BUILD_SOURCEBRANCH -contains '/tags/' -and $Env:BUILD_SOURCEBRANCHNAME -like "v0.*") { $ModuleVersion = $Env:BUILD_SOURCEBRANCHNAME.Substring(1); }