From 4d5c4aae11007744b93c656f2cb994437bf82a46 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Wed, 20 Nov 2024 10:59:07 +0000 Subject: [PATCH] fix: Automated release failing Signed-off-by: Gordon Smith --- .github/workflows/release-please.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 }}