Skip to content

Commit c03e28b

Browse files
committed
[release] force the checkokut
1 parent c47d218 commit c03e28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/release/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ pipeline {
214214
// restore git state before updating .x branch, otherwise later external scripts will use
215215
// the version when the tag was created, which might not match the release branch state
216216
sh(label: "remote branch is fetched for local checkout", script: "git fetch origin ${BRANCH_SPECIFIER}")
217-
sh(label: "restore to previous updating version", script: "git checkout --track origin/${BRANCH_SPECIFIER}")
217+
sh(label: "restore to previous updating version", script: "git checkout --track origin/${BRANCH_SPECIFIER} --force")
218218
}
219219
}
220220
}

0 commit comments

Comments
 (0)