diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 55eac0c107..eeb543004d 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -102,14 +102,14 @@ jobs: # with: # github-token: ${{ secrets.GITHUB_TOKEN }} - # - name: push stamped release - # if: ${{ steps.release.outputs.release_created }} - # run: | - # git config user.name github-actions[bot] - # git config user.email 4104672+github-actions[bot]@users.noreply.github.com - # git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/yargs/yargs.git" - # git commit -a -m 'chore: stamp files for release' - # git push origin + - name: push stamped release + if: ${{ steps.release.outputs.release_created }} + run: | + git config user.name github-actions[bot] + git config user.email 4104672+github-actions[bot]@users.noreply.github.com + git remote add gh-token "https://${{ secrets.GITHUB_TOKEN}}@github.com/yargs/yargs.git" + git commit -a -m 'chore: stamp files for release' + git push origin - name: Publish if: ${{ steps.release.outputs.release_created }}