File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
# NetBeans 14 FCS
4
4
REV=c4f2d87113e1a2d2d4e21e8952e1f99612d5b3fd
5
5
BRANCH=release140
6
- BUILD_DATE=` git log -n1 --date=format:' %d %m%Y ' $0 | fgrep ' Date' | awk ' {print $2}' `
6
+ BUILD_DATE=` git log -n1 --date=format:' %Y %m%d ' $0 | fgrep ' Date' | awk ' {print $2}' `
7
7
ZIPNAME=nb140_platform_$BUILD_DATE
8
8
9
9
set -e
@@ -12,7 +12,7 @@ mkdir -p build/nb/
12
12
cd build/nb/
13
13
BUILD_ROOT=` pwd`
14
14
if [ -e $BUILD_ROOT /$ZIPNAME .zip ]; then
15
- echo " $BUILD_ROOT /$ZIPNAME .zip is upto date"
15
+ echo " $BUILD_ROOT /$ZIPNAME .zip is up to date"
16
16
exit
17
17
fi
18
18
if [ -e netbeans ]; then
@@ -258,10 +258,10 @@ EOF
258
258
git status
259
259
260
260
OPTS=-Dbuild.compiler.debuglevel=source,lines
261
-
261
+ SHORT_REV= ` git rev-parse --short HEAD `
262
262
git clean -fdX
263
263
cd nbbuild
264
- ant $OPTS -Dname=platform rebuild-cluster
265
- ant $OPTS -Dname=harness rebuild-cluster
264
+ ant $OPTS -Dname=platform -Dbuildnumber= $BUILD_DATE - $SHORT_REV rebuild-cluster
265
+ ant $OPTS -Dname=harness -Dbuildnumber= $BUILD_DATE - $SHORT_REV rebuild-cluster
266
266
267
267
zip -r $BUILD_ROOT /$ZIPNAME .zip netbeans
You can’t perform that action at this time.
0 commit comments