diff --git a/.github/actions/version/entrypoint.js b/.github/actions/version/entrypoint.js
index <HASH>..<HASH> 100644
--- a/.github/actions/version/entrypoint.js
+++ b/.github/actions/version/entrypoint.js
@@ -11,7 +11,7 @@ const {
 const pkg = require(resolve(process.cwd(), 'package.json'))
 
 // GitHub info
-const branchName = GITHUB_REF.replace(/^refs\/heads\//gi, "")
+const branchName = GITHUB_REF.replace('refs/heads/', '')
 const shortSha = GITHUB_SHA.slice(0,9)
 let releaseMatch = null
Update .github/actions/version/entrypoint.js