Commit 0e99c03b authored by helmo's avatar helmo

Update to work on a fresh set of clones

parent 7beeef7d
......@@ -9,14 +9,27 @@
modules="hostmaster provision hosting eldir hosting_civicrm hosting_git hosting_remote_import hosting_site_backup_manager hosting_tasks_extra hosting_logs hosting_https"
if [ -z "$1" ]; then
echo "Usage: $0 <previous release tag>"
echo "Usage: $0 <previous release tag, e.g. 7.x-3.160>"
echo "Best not to use the tags for minor releases, repositories that don't have this tag then fail to generate notes fails "
exit 1
cd ..
TEMPDIR=`mktemp --directory`
echo "Cloning into temp dir $TEMPDIR..."
for shortname in $modules; do
# Grab a fresh copy, to avoid projects being on feature branches and having local commits.
git clone --quiet --branch $CURRENT_BRANCH$shortname.git >> $TEMPDIR/clone.log
cd $shortname >> /dev/null;
git pull --quiet
echo "**Changes to $shortname since $prev_release**"
......@@ -35,3 +48,5 @@ for shortname in $modules; do
cd - >> /dev/null;
echo "Fresh clones left in temp dir $TEMPDIR for your conveniance."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment