Created
April 17, 2014 21:15
-
-
Save cwsaylor/11012046 to your computer and use it in GitHub Desktop.
Duplicates the collaborators from one heroku env to another
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
| #!/usr/bin/env sh | |
| # Usage: ./heroku_dupe_collab.sh source-env target-env | |
| for arg in $(heroku sharing -a $1 | grep -v "===" | awk '{print $1}') | |
| do | |
| heroku sharing:add $arg -a $2 | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment