Download scripts/push_and_open_prs.sh from elampu/algorithmic_trading: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/elampu/algorithmic_trading/resolve/main/scripts/push_and_open_prs.sh
- Command line
-
hf download hf://elampu/algorithmic_trading/scripts/push_and_open_prs.sh
-
curl -L -o push_and_open_prs.sh https://huggingface.co/elampu/algorithmic_trading/resolve/main/scripts/push_and_open_prs.sh
524 Bytes
| set -e | |
| BRANCH="feature/comprehensive-test-suite-fixes" | |
| BASE="main" | |
| # Push to both remotes | |
| echo "Pushing to origin..." | |
| git push origin $BRANCH | |
| echo "Pushing to eaname..." | |
| git push eaname $BRANCH | |
| # Open PR creation pages in browser | |
| PR_URL1="https://github.com/ParallelLLC/algorithmic_trading/compare/$BASE...$BRANCH?expand=1" | |
| PR_URL2="https://github.com/EAName/algorithmic_trading/compare/$BASE...$BRANCH?expand=1" | |
| echo "Opening PR creation pages in browser..." | |
| open "$PR_URL1" | |
| open "$PR_URL2" | |
| echo "Done." |