Remove the v prefix from the version passed by GHA to the script

This commit is contained in:
Riccardo Cipolleschi
2025-03-19 13:58:44 +00:00
parent 1299ef7be0
commit 19a7445f0f
@@ -68,6 +68,10 @@ module.exports.verifyPublishedTemplate = async (
latest = false,
retries = MAX_RETRIES,
) => {
if (version.startsWith('v')) {
version = version.slice(1);
}
log(`🔍 Is ${TEMPLATE_NPM_PKG}@${version} on npm?`);
let count = retries;