diff --git a/script/release-artifact-cleanup.js b/script/release-artifact-cleanup.js index ef9b2aebd7e9..27a66f5e6061 100755 --- a/script/release-artifact-cleanup.js +++ b/script/release-artifact-cleanup.js @@ -72,7 +72,7 @@ async function deleteTag (tag, targetRepo) { await octokit.git.deleteRef({ owner: 'electron', repo: targetRepo, - ref: tag + ref: `tags/${tag}` }) console.log(`${pass} successfully deleted tag ${tag} from ${targetRepo}`) } catch (err) {