fix: bug detecting previous tag when workflow is rerun (#2107)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -243,7 +243,8 @@ export const getSHAForNonPullRequestEvent = async ({
|
||||
const {sha, tag} = await getPreviousGitTag({
|
||||
cwd: workingDirectory,
|
||||
tagsPattern: inputs.tagsPattern,
|
||||
tagsIgnorePattern: inputs.tagsIgnorePattern
|
||||
tagsIgnorePattern: inputs.tagsIgnorePattern,
|
||||
currentBranch
|
||||
})
|
||||
previousSha = sha
|
||||
targetBranch = tag
|
||||
|
||||
Reference in New Issue
Block a user