Fix build when semantic release shows error (#1339)

This commit is contained in:
Paul Pacheco 2019-12-21 14:06:26 -06:00 committed by GitHub
parent 0d1d7b5a1c
commit c19fb99877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ install:
skip_tags: true skip_tags: true
before_build: before_build:
- ps: | - ps: |
semantic-release --dry-run | %{ semantic-release --dry-run 2>&1 | %{
echo $_ echo $_
$fields = -split $_; $fields = -split $_;
if ($fields[0] -eq "#" -or $fields[0] -eq "##") { if ($fields[0] -eq "#" -or $fields[0] -eq "##") {