From a3131fbf4b738a7f2601118d1910d0b4e92ed66e Mon Sep 17 00:00:00 2001 From: Mick MacCallum Date: Wed, 24 Jul 2024 21:47:56 -0400 Subject: [PATCH] git --- .circleci/config.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 32dc303..592ba7d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,20 +25,18 @@ jobs: export WEBHOOK_X86_SHA=("<< pipeline.trigger_parameters.webhook.body >>" | jq .x86_sha) export WEBHOOK_DESCRIPTION=("<< pipeline.trigger_parameters.webhook.body >>" | jq .description) - echo "Apply requested context to template:\n" + echo "Apply requested context to template:" echo "<< pipeline.trigger_parameters.webhook.body >>" liquidjs --template @./Templates/parra-cli.rb.liquid --context '<< pipeline.trigger_parameters.webhook.body >>' --output ./Formula/parra-cli.rb - echo "woooo! \n" cat ./Formula/parra-cli.rb + git add --all + git commit -m "Parra CLI version $WEBHOOK_VERSION" + git push + workflows: update-cli-formula-workflow: jobs: - - update-cli-formula: - filters: - branches: - # Don't run for any branch. Just from webhooks. - ignore: - - /.*/ + - update-cli-formula