Last change
on this file was
483,
checked in by hendrikvanantwerpen, 11 years ago
|
Added Dojo 1.9.3 release.
|
-
Property svn:executable set to
*
|
File size:
926 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | # only run this in a pristine export of an svn tag. |
---|
4 | # It should only be run on unix, more specifically, where sha1sum is available. |
---|
5 | |
---|
6 | #version should be something like 0.9.0beta or 0.9.0, should match the name of the svn export. |
---|
7 | version=$1 |
---|
8 | |
---|
9 | if [ -z $version ]; then |
---|
10 | echo "Please pass in a version number" |
---|
11 | exit 1 |
---|
12 | fi |
---|
13 | |
---|
14 | dobuild() { |
---|
15 | ./build.sh profile=standard profile=cdn releaseName=$1 cssOptimize=comments.keepLines optimize=closure layerOptimize=closure stripConsole=normal version=$1 copyTests=false mini=true action=release |
---|
16 | mv ../../release/$1 ../../release/$1-cdn |
---|
17 | cd ../../release/$1-cdn |
---|
18 | zip -rq $1.zip $1/* |
---|
19 | sha1sum $1.zip > sha1.txt |
---|
20 | cd $1 |
---|
21 | find . -type f -exec sha1sum {} >> ../sha1.txt \; |
---|
22 | } |
---|
23 | |
---|
24 | # Generate locale info |
---|
25 | cd cldr |
---|
26 | ant clean # necessary until cldr scripts can handle existing AMD files |
---|
27 | ant |
---|
28 | cd .. |
---|
29 | |
---|
30 | # Setup release area |
---|
31 | mkdir -p ../../release/$version-cdn |
---|
32 | |
---|
33 | # Google build |
---|
34 | dobuild $version |
---|
Note: See
TracBrowser
for help on using the repository browser.