Skip to content

Commit a6a5117

Browse files
fabriziocuccireact-native-bot
authored andcommitted
Fix verifyPublishedTemplate after failure for 0.79.0 (#50554)
Summary: Pull Request resolved: #50554 This should fix the issue found during the 0.79.0 release. https://github.com/facebook/react-native/actions/runs/14329766551/job/40166165007 Changelog: [Internal] Reviewed By: cortinico, cipolleschi Differential Revision: D72637751 fbshipit-source-id: 1b3ccbab162f484c96e5ff768766848f82acd818
1 parent aa51fb4 commit a6a5117

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflow-scripts/publishTemplate.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ module.exports.verifyPublishedTemplate = async (
6969
retries = MAX_RETRIES,
7070
) => {
7171
try {
72+
if (version.startsWith('v')) {
73+
version = version.slice(1);
74+
}
7275
await verifyPublishedPackage(
7376
TEMPLATE_NPM_PKG,
7477
version,

0 commit comments

Comments
 (0)