From f54f540e631274cb3236a940961eb0ad06aa75f4 Mon Sep 17 00:00:00 2001 From: Ali Samji Date: Wed, 5 Jun 2024 11:59:10 -0500 Subject: [PATCH] Replace formula instead of append. --- .github/workflows/update_formula.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_formula.yaml b/.github/workflows/update_formula.yaml index 6e55fd0..dce2dd7 100644 --- a/.github/workflows/update_formula.yaml +++ b/.github/workflows/update_formula.yaml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - run: | ERB_ARGS=$(echo $PAYLOAD | jq -rj 'keys[] as $k | "\($k)=\(.[$k]) "') - erb $ERB_ARGS templates/${{ github.event.client_payload.name }}.erb >> Formula/${{ github.event.client_payload.name }}.rb + erb $ERB_ARGS templates/${{ github.event.client_payload.name }}.erb > Formula/${{ github.event.client_payload.name }}.rb git config --global user.name "GitHub Actions" git config --global user.email "actions@github.com" git add -A