Skip to content

Instantly share code, notes, and snippets.

View tomboone's full-sized avatar

Tom Boone tomboone

  • Rockville, MD
  • 20:21 (UTC -04:00)
View GitHub Profile
@tomboone
tomboone / python-update.sh
Created May 7, 2025 16:34
Automated python dependency updates
#!/bin/bash
# Ensure you are on the correct branch or create one
# For example:
BRANCH_NAME="update/$(date +%Y-%m-%d)"
if git rev-parse --verify "$BRANCH_NAME" >/dev/null 2>&1; then
echo "Switching to existing branch $BRANCH_NAME."
git checkout "$BRANCH_NAME"
else
echo "Creating and switching to new branch $BRANCH_NAME."