From a15243d63c439948ef64d12f41f4aad57802d3e5 Mon Sep 17 00:00:00 2001 From: Thimo Limpert Date: Sun, 28 Mar 2021 16:10:59 +0200 Subject: [PATCH] be more specific --- tests/Manifest.tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Manifest.tests.ps1 b/tests/Manifest.tests.ps1 index a5d9c9f..39b0cee 100644 --- a/tests/Manifest.tests.ps1 +++ b/tests/Manifest.tests.ps1 @@ -72,7 +72,7 @@ Describe 'Module manifest' { } It 'Release is tagged with a valid version' @isRelease { - $script:tagVersion | Should Not BeNullOrEmpty + $script:tagVersion | Should -Match "^\d+\.\d+\.\d+$" $script:tagVersion -as [Version] | Should Not BeNullOrEmpty } It 'Release tag equals changelog and manifest version' @isRelease {