diff --git a/scripts/after-shipit-pod-push.js b/scripts/after-shipit-pod-push.js index 7a196c527..76f0a897e 100644 --- a/scripts/after-shipit-pod-push.js +++ b/scripts/after-shipit-pod-push.js @@ -16,7 +16,7 @@ class AfterShipItPodPush { while (!found && attempt < 10) { const { data } = await auto.git.github.repos.listReleases({owner: auto.config.owner, repo: auto.config.repo}) - const release = data.find(element => element.name === newVersion) + const release = data.find(element => element.tag_name === newVersion) const { data: releaseData } = await auto.git.github.repos.getRelease({owner: auto.config.owner, repo: auto.config.repo, release_id: release.id}) const zip = releaseData.assets.find(element => element.name === 'PlayerUI_Pod.zip' && element.state === 'uploaded')