Unverified Commit 101d2d2a authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fetch tag before reset for create-release-branch (#83006)

parent 9490832f
...@@ -39,6 +39,10 @@ async function main() { ...@@ -39,6 +39,10 @@ async function main() {
stdio: 'inherit', stdio: 'inherit',
shell: true, shell: true,
}) })
await execa(`git fetch origin ${tagName}`, {
stdio: 'inherit',
shell: true,
})
await execa(`git reset --hard ${tagName}`, { await execa(`git reset --hard ${tagName}`, {
stdio: 'inherit', stdio: 'inherit',
shell: true, shell: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment