Skip to content

Commit 0dad6ab

Browse files
committed
Explicitly clean up lock file on success
1 parent 0b4705f commit 0dad6ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/rails_master_hook.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ if [ ! -e $LOCK_FILE ]; then
4141
echo "▶ Updating Rails contributors..."
4242
nice --adjustment=19 bin/update_rails_contributors.sh
4343

44+
# Explicitly cleanup on success
45+
cleanup
46+
4447
echo "✓ Execution completed successfully"
4548
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
4649
fi

0 commit comments

Comments
 (0)