diff --git a/tests/Manifest.tests.ps1 b/tests/Manifest.tests.ps1 index 39b0cee..7a63fd5 100644 --- a/tests/Manifest.tests.ps1 +++ b/tests/Manifest.tests.ps1 @@ -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 } }