Commit 1a0e832f authored by Richard Mansfield's avatar Richard Mansfield

Add 1.5 branch for language packs

parent a58cdffb
......@@ -109,7 +109,7 @@ system "git fetch --quiet origin";
# For launchpad, all languages are in a single branch, so update the lot
! -d $BZRDIR && system "bzr init-repo $BZRDIR";
my @branches = qw(1.2_STABLE 1.3_STABLE 1.4_STABLE master);
my @branches = qw(1.3_STABLE 1.4_STABLE 1.5_STABLE master);
foreach my $branch (@branches) {
if ( ! -d "$BZRDIR/$branch" ) {
......@@ -143,14 +143,14 @@ foreach my $lang (@langkeys) {
if ( $remote =~ m/^lp:mahara-lang/ ) {
$repotype = 'launchpad';
@branches = qw(1.2_STABLE 1.3_STABLE 1.4_STABLE master);
@branches = qw(1.3_STABLE 1.4_STABLE 1.5_STABLE master);
}
elsif ( $remote =~ m{^git://gitorious\.org} ) {
$repotype = 'gitorious';
! -d "$gitlangdir" && system "git clone --quiet $remote $gitlangdir";
chdir $gitlangdir;
system "git fetch --quiet";
my $remotebranchcmd = 'git branch -r | grep -v "HEAD" | grep "origin\/\(master\|1.2_STABLE\|1.3_STABLE\|1.4_STABLE\)$"';
my $remotebranchcmd = 'git branch -r | grep -v "HEAD" | grep "origin\/\(master\|1.3_STABLE\|1.4_STABLE\|1.5_STABLE\)$"';
my $remotebranches = `$remotebranchcmd`;
$remotebranches =~ s/\s+/ /;
@branches = ();
......
......@@ -40,7 +40,7 @@ BZR=${WORK}/mahara-lang-bzr
cd ${GITDIR}
git fetch --quiet origin
branches="1.2_STABLE 1.3_STABLE 1.4_STABLE master"
branches="1.3_STABLE 1.4_STABLE 1.5_STABLE master"
for branch in ${branches} ; do
branchexists=`git branch | grep "${branch}$"`
......
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