Last active
October 5, 2017 13:56
-
-
Save mheiber/5fe5e98446bd393c5139f24ba120af24 to your computer and use it in GitHub Desktop.
run this in the redux repo like this: ./link-me.sh dependency version-number. Example: ./link-me.sh clay-kiln 3.11.0
This file contains hidden or 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 | |
# written with @felkerch | |
REPO=$1 | |
VERSION=$2 | |
cd ../$REPO | |
git fetch | |
git checkout v$VERSION | |
npm link | |
cd - | |
npm link $REPO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment