Skip to content

Commit

Permalink
Also commit updated debts after running job
Browse files Browse the repository at this point in the history
  • Loading branch information
countvajhula committed Mar 15, 2024
1 parent 124c5d8 commit d82d93a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ echo "... done."

# Note that running this locally would cause your global
# git config to be modified
echo "Committing updated transactions and attributions back to repo..."
echo "Committing updated accounting records back to repo..."
git config --global user.email "[email protected]"
git config --global user.name "Old Abe"
git add abe/transactions.txt abe/attributions.txt abe/valuation.txt abe/itemized_payments.txt abe/advances.txt
git add abe/transactions.txt abe/attributions.txt abe/valuation.txt abe/itemized_payments.txt abe/advances.txt abe/debts.txt

set +e

git commit -m "Updated transactions and attributions"
git commit -m "Updated accounting records"
git fetch
git rebase origin/`git remote set-head origin -a | cut -d' ' -f4`
git push origin `git remote set-head origin -a | cut -d' ' -f4`
Expand Down

0 comments on commit d82d93a

Please sign in to comment.