Remove the v prefix from the version passed by GHA to the script (#50130)

This commit is contained in:
Riccardo Cipolleschi
2025-03-20 13:34:28 +00:00
committed by GitHub
parent 166ea3166c
commit 1e54c5d305
@@ -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;