From eedb90af345c43997d3e7877c0759c3112cbb446 Mon Sep 17 00:00:00 2001 From: FantasticFiasco Date: Thu, 19 Oct 2023 08:13:55 +0200 Subject: [PATCH] wip --- scripts/publish-on-tag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-on-tag.js b/scripts/publish-on-tag.js index 5db27744..afc41a14 100644 --- a/scripts/publish-on-tag.js +++ b/scripts/publish-on-tag.js @@ -27,7 +27,7 @@ const assertGitTag = () => { const tag = GIT_TAG.replace(/^v/, ''); const semverRegex = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm; if (!semverRegex.test(tag)) { - fatal(`Aborting deployment to GitHub Releases because "${GIT_TAG}" does not conform to SemVer`); + fatal(`Aborting deployment to GitHub Releases because "${tag}" does not conform to SemVer`); } return GIT_TAG;