Skip to content

Commit

Permalink
Fix tag versions CI (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite authored Jun 2, 2019
1 parent 8ed0468 commit 81691fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pipeline.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 81691fe

Please sign in to comment.