File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ INITIALISATION
276276 value =" ${ maven.version.number } -${ git.commit.date } -${ git.commit.drift } -${ git.commit.sha } " />
277277 <property
278278 name =" osgi.version.number"
279- value =" ${ version.major } .${ version.minor } .${ version.patch } .r ${ git.commit.date } ${ version.suffix } -${ git.commit.sha } " />
279+ value =" ${ version.major } .${ version.minor } .${ version.patch } .v ${ git.commit.date } ${ version.suffix } -${ git.commit.sha } " />
280280
281281
282282 <!-- Local libs (developer use.) -->
Original file line number Diff line number Diff line change 55# If no dir is given, current working dir is used.
66#
77# Example build version string:
8- # g6f1c486d0b
8+ # 6f1c486d0ba
99#
1010
1111[[ $# -eq 0 ]] || cd " $1 "
@@ -35,5 +35,6 @@ tag=$(git describe --tags --match 'v2*' --abbrev=0)
3535described=$( git describe --tags --match ' v2*' --abbrev=10)
3636suffix=" ${described## ${tag} -} "
3737hash=$( echo $suffix | cut -d - -f 2)
38+ hash=${hash# g}
3839
3940echo " $hash "
You can’t perform that action at this time.
0 commit comments