Skip to content

Commit 1e8a92e

Browse files
committed
revision id added to netbeans platform build number
1 parent 5a42bf1 commit 1e8a92e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

visualvm/build-nb.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,12 @@ EOF
142142
git status
143143

144144
OPTS=-Dbuild.compiler.debuglevel=source,lines
145+
SHORT_REV=`git rev-parse --short HEAD`
145146

146147
git clean -fdX
147148
cd nbbuild
148-
ant $OPTS -Dname=platform rebuild-cluster
149-
ant $OPTS -Dname=harness rebuild-cluster
149+
ant $OPTS -Dname=platform -Dhg.id=$SHORT_REV rebuild-cluster
150+
ant $OPTS -Dname=harness -Dhg.id=$SHORT_REV rebuild-cluster
150151

151152
zip -r $BUILD_ROOT/$ZIPNAME.zip netbeans
152153

0 commit comments

Comments
 (0)