@@ -122,22 +122,23 @@ gradle clean bootRun'''
122
122
123
123
version = ' 0.0.0-SNAPSHOT'
124
124
125
- gitVersioning. apply {
126
- refs {
127
- considerTagsOnBranches = true
128
- describeTagPattern = ' .*(\\ d+\\ .\\ d+\\ .\\ d+).*'
129
- describeTagFirstParent = false
130
-
131
- branch(" release\\ /\\ d+\\ .\\ d+\\ .\\ d+" ) {
132
- version = ' ${describe.tag.version.major}.${describe.tag.version.minor}.${describe.tag.version.patch}'
125
+ if (project. hasProperty(' fineract.release.version' )) {
126
+ gitVersioning. apply {
127
+ refs {
128
+ considerTagsOnBranches = true
129
+
130
+ tag(" (?<version>.*)" ) {
131
+ version = " 0.0.${ project.getProperty('fineract.release.version')} -\$ {commit.short}"
132
+ }
133
+
134
+ branch(" .+" ) {
135
+ version = " 0.0.${ project.getProperty('fineract.release.version')} -\$ {commit.short}"
136
+ }
133
137
}
134
- branch( " maintenance \\ / \\ d+ \\ . \\ d+ " ) {
135
- version = ' ${describe.tag.version.major}.${describe.tag.version.minor}.${describe.tag.version.patch} '
138
+ rev {
139
+ version = " 0.0. ${ project.getProperty('fineract.release.version') } - \$ {commit.short} "
136
140
}
137
141
}
138
- rev {
139
- version = ' ${describe.tag.version.major}.${describe.tag.version.minor.next}.${describe.tag.version.patch}-SNAPSHOT'
140
- }
141
142
}
142
143
143
144
ext[' groovy.version' ] = ' 4.0.17'
@@ -808,10 +809,6 @@ configure(project.fineractCustomProjects) {
808
809
configure(project. fineractPublishProjects) {
809
810
apply plugin : ' maven-publish'
810
811
811
- if (! project. hasProperty(' noSign' )) {
812
- apply plugin : ' signing'
813
- }
814
-
815
812
publishing {
816
813
publications {
817
814
mavenJava(MavenPublication ) {
@@ -867,12 +864,6 @@ configure(project.fineractPublishProjects) {
867
864
}
868
865
}
869
866
}
870
-
871
- if (! project. hasProperty(' noSign' )) {
872
- signing {
873
- sign publishing. publications. mavenJava
874
- }
875
- }
876
867
}
877
868
878
869
task printSourceSetInformation () {
0 commit comments