diff --git a/.github/actions/commit-and-tag/index.js b/.github/actions/commit-and-tag/index.js index 3a377f938c..6aab343495 100644 --- a/.github/actions/commit-and-tag/index.js +++ b/.github/actions/commit-and-tag/index.js @@ -51822,8 +51822,7 @@ async function commitAndTag(version) { (0, core_1.info)(`git tag`); await (0, git_1.tag)(`v${version}`, cwd); (0, core_1.info)(`git push`); - // TODO: reenable follow-tags - await (0, execa_1.command)('git push'); // --follow-tags'); + await (0, execa_1.command)('git push --follow-tags'); } commitAndTag((0, core_1.getInput)('version')).catch(err => { (0, core_1.error)(err); diff --git a/build-packages/commit-and-tag/index.ts b/build-packages/commit-and-tag/index.ts index 299eddcc4c..d226661c97 100644 --- a/build-packages/commit-and-tag/index.ts +++ b/build-packages/commit-and-tag/index.ts @@ -12,8 +12,7 @@ async function commitAndTag(version: string) { info(`git tag`); await tag(`v${version}`, cwd); info(`git push`); - // TODO: reenable follow-tags - await command('git push'); // --follow-tags'); + await command('git push --follow-tags'); } commitAndTag(getInput('version')).catch(err => {