fix: remove hack to workaround GitHub Rebase & Merge

This commit is contained in:
Pierre Vanduynslager
2019-11-01 16:58:55 -04:00
parent 1edae67326
commit 844e0b07e0
5 changed files with 8 additions and 59 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ module.exports = async ({cwd, env, options: {tagFormat}}, branches) => {
const branchTags = await pReduce(
tags,
async (tags, {gitTag, ...rest}) =>
(await isRefInHistory(gitTag, branch.name, true, {cwd, env}))
(await isRefInHistory(gitTag, branch.name, {cwd, env}))
? [...tags, {...rest, gitTag, gitHead: await getTagHead(gitTag, {cwd, env})}]
: tags,
[]