Skip to content

Commit

Permalink
Works with multi-line input
Browse files Browse the repository at this point in the history
  • Loading branch information
jessehouwing committed Oct 30, 2023
1 parent 294de4f commit 20ae342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$global:returnCode = 0

$warnMinor = ${env:INPUT_CHECK-MINOR-VERSION} -eq "true"
$warnMinor = (${env:INPUT_CHECK-MINOR-VERSION} ?? "true").Trim() -eq "true"

$tags = & git tag -l v* | Where-Object{ return ($_ -match "v\d+(.\d+)*$") }

Expand Down

0 comments on commit 20ae342

Please sign in to comment.