Commit ee60f2e6 authored by bgm's avatar bgm

Fix civicrm-drupal branch name, now 7.x-master, and support the master branch,...

Fix civicrm-drupal branch name, now 7.x-master, and support the master branch, as well as v4.3, for example.
parent cc686a11
......@@ -69,13 +69,18 @@ for rel in $releases; do
git pull
git archive $rel | tar -xC $temp/$rel
## FIXME: will change to 7.x-${rel}
## we use ${rel:2} so that v4.3 => 4.3
mkdir -p $temp/$rel/drupal
cd $root/civicrm-drupal
git checkout ${rel:1}-7.x
git pull
git archive ${rel:1}-7.x | tar -xC $temp/$rel/drupal
if [ "$rel" = "master" ]; then
git checkout 7.x-${rel}
git pull
git archive 7.x-${rel} | tar -xC $temp/$rel/drupal
else
# we use ${rel:1} so that v4.3 => 4.3
git checkout 7.x-${rel:1}
git pull
git archive 7.x-${rel:1} | tar -xC $temp/$rel/drupal
fi
mkdir -p $temp/$rel/joomla
cd $root/civicrm-joomla
......
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