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 33# NetBeans 14 FCS
44REV=c4f2d87113e1a2d2d4e21e8952e1f99612d5b3fd
55BRANCH=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}' `
77ZIPNAME=nb140_platform_$BUILD_DATE
88
99set -e
@@ -12,7 +12,7 @@ mkdir -p build/nb/
1212cd build/nb/
1313BUILD_ROOT=` pwd`
1414if [ -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"
1616 exit
1717fi
1818if [ -e netbeans ]; then
@@ -258,10 +258,10 @@ EOF
258258git status
259259
260260OPTS=-Dbuild.compiler.debuglevel=source,lines
261-
261+ SHORT_REV= ` git rev-parse --short HEAD `
262262git clean -fdX
263263cd 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
266266
267267zip -r $BUILD_ROOT /$ZIPNAME .zip netbeans
You can’t perform that action at this time.
0 commit comments