We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1f361 commit dad7020Copy full SHA for dad7020
scripts/ci/codegen/spreadGeneration.ts
@@ -151,7 +151,8 @@ async function spreadGeneration(): Promise<void> {
151
`Processing release commit, creating new release tag ('${version}') for '${lang}' repository.`
152
);
153
154
- await run(`git tag -d ${version}`, { cwd: tempGitDir });
+ // we always want to delete the tag in case it exists
155
+ await run(`git tag -d ${version} || true`, { cwd: tempGitDir });
156
await run(`git tag ${version} HEAD`, { cwd: tempGitDir });
157
await run('git push --tags', { cwd: tempGitDir });
158
}
0 commit comments