From 28309c1910f074b74e4b40b889b23124c359e035 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 14 Feb 2024 13:54:38 +1100 Subject: [PATCH] (Semi-)automatically commit new Stripe recordings This script is used by a developer whenever the Stripe gem is bumped by Dependabot. I found myself always doing the same commands and thought that they could be automated. I'm not going as far as pushing back to the branch but we might do that in the future? --- script/test-stripe-live | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/test-stripe-live b/script/test-stripe-live index 5272c55aeb..b80cfacf26 100755 --- a/script/test-stripe-live +++ b/script/test-stripe-live @@ -7,3 +7,6 @@ set -e # Exit if any command fails git rm spec/fixtures/vcr_cassettes/Stripe-v* -r ./bin/rspec --tag stripe_version + +git add spec/fixtures/vcr_cassettes/Stripe-v* +git commit -m "Update Stripe API recordings for new version"