Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stkevintan committed Jan 21, 2024
1 parent ab014c5 commit f17cea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
shell: pwsh
run: |
npm config set provenance true
$commit = "$(git log -1 --pretty=%B)"
if (!($commit -match "^\s*((core|ws)@[0-9]+\.[0-9]+\.[0-9]+\+?)+\s*$")) {
$commit = "$(git log -1 --pretty=%B)".Trim()
if (!($commit -match "^((core|ws)@[0-9]+\.[0-9]+\.[0-9]+\+?)+$")) {
Write-Host "Not a release, skipping publish"
exit 0
}
Expand Down

0 comments on commit f17cea5

Please sign in to comment.