@@ -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'
@@ -810,10 +811,6 @@ configure(project.fineractCustomProjects) {
810
811
configure(project. fineractPublishProjects) {
811
812
apply plugin : ' maven-publish'
812
813
813
- if (! project. hasProperty(' noSign' )) {
814
- apply plugin : ' signing'
815
- }
816
-
817
814
publishing {
818
815
publications {
819
816
mavenJava(MavenPublication ) {
@@ -869,12 +866,6 @@ configure(project.fineractPublishProjects) {
869
866
}
870
867
}
871
868
}
872
-
873
- if (! project. hasProperty(' noSign' )) {
874
- signing {
875
- sign publishing. publications. mavenJava
876
- }
877
- }
878
869
}
879
870
880
871
task printSourceSetInformation () {
0 commit comments