Created
September 29, 2021 20:05
-
-
Save xylar/e0647bf267b06ea4e91be250ae03bb46 to your computer and use it in GitHub Desktop.
A script for adding a conda-forge feedstock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
feedstock="$1"-feedstock | |
mkdir -p "${feedstock}" | |
cd "${feedstock}" | |
git clone [email protected]:conda-forge/"${feedstock}".git | |
cd "${feedstock}" | |
git remote rename origin conda-forge/"${feedstock}" | |
for org in regro-cf-autotick-bot xylar | |
do | |
git remote add "${org}"/"${feedstock}" [email protected]:"${org}"/"${feedstock}".git | |
done | |
git fetch --all -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment