Skip to content

Commit

Permalink
Allow - in environment variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jessehouwing committed Oct 30, 2023
1 parent 6c44787 commit 294de4f
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} -eq "true"

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

Expand Down

0 comments on commit 294de4f

Please sign in to comment.