Skip to content

Commit

Permalink
Merge pull request #14696 from trop-bot/3-0-x-bp-chore--fix-await-in-…
Browse files Browse the repository at this point in the history
…cleanup-script-1537375163163

chore: fix await in cleanup script (backport: 3-0-x)
  • Loading branch information
John Kleinschmidt committed Sep 19, 2018
2 parents 34c2025 + e405103 commit 9bb6c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/release-artifact-cleanup.js
Expand Up @@ -37,7 +37,7 @@ async function getCurrentBranch (gitDir) {
}

async function revertBumpCommit (tag) {
const branch = getCurrentBranch()
const branch = await getCurrentBranch()
const commitToRevert = getLastBumpCommit(tag).hash
await GitProcess.exec(['revert', commitToRevert], gitDir)
const pushDetails = await GitProcess.exec(['push', 'origin', `HEAD:${branch}`, '--follow-tags'], gitDir)
Expand Down

0 comments on commit 9bb6c9d

Please sign in to comment.