#!/usr/bin/env bash # push.sh — commit and push YT Player from WSL. # Usage: bash scripts/push.sh ["optional commit message"] set -euo pipefail cd "$(dirname "$0")/.." msg="${1:-Offline cache + Save/Add-to-playlist + Settings page; refresh Windows release}" git add -A if git diff --cached --quiet; then echo "Nothing to commit." else git commit -m "$msg" fi git push echo "Pushed."