File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ INITIALISATION
306
306
value =" ${ maven.version.number } -${ git.commit.date } -${ git.commit.drift } -${ git.commit.sha } " />
307
307
<property
308
308
name =" osgi.version.number"
309
- value =" ${ version.major } .${ version.minor } .${ version.patch } .r ${ git.commit.date } ${ version.suffix } -${ git.commit.sha } " />
309
+ value =" ${ version.major } .${ version.minor } .${ version.patch } .v ${ git.commit.date } ${ version.suffix } -${ git.commit.sha } " />
310
310
311
311
312
312
<!-- And print-out what we are building -->
Original file line number Diff line number Diff line change 5
5
# If no dir is given, current working dir is used.
6
6
#
7
7
# Example build version string:
8
- # g6f1c486d0b
8
+ # 6f1c486d0ba
9
9
#
10
10
11
11
[[ $# -eq 0 ]] || cd " $1 "
@@ -35,5 +35,6 @@ tag=$(git describe --tags --match 'v2*' --abbrev=0)
35
35
described=$( git describe --tags --match ' v2*' --abbrev=10)
36
36
suffix=" ${described## ${tag} -} "
37
37
hash=$( echo $suffix | cut -d - -f 2)
38
+ hash=${hash# g}
38
39
39
40
echo " $hash "
You can’t perform that action at this time.
0 commit comments