equal
deleted
inserted
replaced
12 VERSION="60.7.0" |
12 VERSION="60.7.0" |
13 VERSION_SUFFIX="esr" |
13 VERSION_SUFFIX="esr" |
14 RELEASE_TAG="" # Needs only to be set if no tar-ball can be downloaded |
14 RELEASE_TAG="" # Needs only to be set if no tar-ball can be downloaded |
15 PREV_VERSION="60.6.3" # Prev. version only needed for locales (leave empty to force l10n-generation) |
15 PREV_VERSION="60.6.3" # Prev. version only needed for locales (leave empty to force l10n-generation) |
16 PREV_VERSION_SUFFIX="esr" |
16 PREV_VERSION_SUFFIX="esr" |
17 #SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation |
17 #SKIP_LOCALES="" # Uncomment to skip l10n-generation |
18 EOF |
18 EOF |
19 |
19 |
20 exit 1 |
20 exit 1 |
21 } |
21 } |
22 |
22 |
329 # Locales did not change, but the old tar-ball is in this directory |
329 # Locales did not change, but the old tar-ball is in this directory |
330 # Simply rename it: |
330 # Simply rename it: |
331 echo "Moving l10n-$PREV_VERSION$PREV_VERSION_SUFFIX.tar.xz to l10n-$VERSION$VERSION_SUFFIX.tar.xz" |
331 echo "Moving l10n-$PREV_VERSION$PREV_VERSION_SUFFIX.tar.xz to l10n-$VERSION$VERSION_SUFFIX.tar.xz" |
332 mv "l10n-$PREV_VERSION$PREV_VERSION_SUFFIX.tar.xz" "l10n-$VERSION$VERSION_SUFFIX.tar.xz" |
332 mv "l10n-$PREV_VERSION$PREV_VERSION_SUFFIX.tar.xz" "l10n-$VERSION$VERSION_SUFFIX.tar.xz" |
333 fi |
333 fi |
334 |
|
335 # compare-locales |
|
336 echo "creating compare-locales" |
|
337 if [ -d compare-locales/.hg ]; then |
|
338 pushd compare-locales || exit 1 |
|
339 hg pull |
|
340 popd || exit 1 |
|
341 else |
|
342 hg clone http://hg.mozilla.org/build/compare-locales |
|
343 fi |
|
344 tar $compression -cf compare-locales.tar.xz --exclude=.hgtags --exclude=.hgignore --exclude=.hg compare-locales |
|
345 |
|