Skip to content

Instantly share code, notes, and snippets.

@xylar
Created September 29, 2021 20:05
Show Gist options
  • Save xylar/e0647bf267b06ea4e91be250ae03bb46 to your computer and use it in GitHub Desktop.
Save xylar/e0647bf267b06ea4e91be250ae03bb46 to your computer and use it in GitHub Desktop.
A script for adding a conda-forge feedstock
#!/bin/bash
set -e
feedstock="$1"-feedstock
mkdir -p "${feedstock}"
cd "${feedstock}"
git clone git@github.com: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}" git@github.com:"${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