Skip to content

Commit

Permalink
ref soesnt start with slash
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteTomX committed Mar 28, 2021
1 parent a15243d commit 1970c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Manifest.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Describe 'Module manifest' {
$script:tagVersion = $null
$isRelease = @{Skip = $true }
if ($env:GITHUB_EVENT_NAME -eq "release") {
$script:tagVersion = $env:GITHUB_REF -replace "\/refs\/tags\/", ""
$script:tagVersion = $env:GITHUB_REF -replace "refs\/tags\/", ""
$isRelease = @{Skip = $false }
}

Expand Down

0 comments on commit 1970c60

Please sign in to comment.