Switch branch on all plugins at once

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Switch branch on all plugins at once

grampajohn
Administrator
Now that we are actively using both the master and release-0.2 branches, it's a pain to go through all the directories and switch them to run a simple test. Here's a small shell script that does it for you:
--------------------
#!/bin/bash

for dir in `ls -d powertac-*`
do
    pushd $dir
    git checkout $1
    popd
done
---------------------

You could also make a grails version of this, of course, or emacs, or python, or whatever.

Enjoy -

John
Reply | Threaded
Open this post in threaded view
|

Re: Switch branch on all plugins at once

ibariens
Thanks Mr. Collins it works. Is it correct that:
powertac-physical-environment
powertac-distribution-utility
do not have a release-0.2?

thank you,

bart
Reply | Threaded
Open this post in threaded view
|

Re: Switch branch on all plugins at once

grampajohn
Administrator
ibariens wrote
Is it correct that:
powertac-physical-environment
powertac-distribution-utility
do not have a release-0.2?
Yes, that's correct. Both should be in an updated release next week.

John