We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1542cff commit 8a7bd5aCopy full SHA for 8a7bd5a
3 files changed
build.gradle
@@ -54,3 +54,23 @@ configure([
54
]){
55
apply from: "${rootProject.rootDir}/nexus.gradle"
56
}
57
+
58
+release {
59
60
+ project.ext.set("release.useAutomaticVersion", true)
61
+ git {
62
+ requireBranch.set("master")
63
+ }
64
+ failOnCommitNeeded = false
65
+ failOnPublishNeeded = false
66
+ failOnUnversionedFiles = false
67
+ buildTasks = []
68
+}
69
70
+confirmReleaseVersion.doLast {
71
+ def f = file("${project.projectDir}/README.md")
72
+ def text = f.text
73
+ f.withWriter { w ->
74
+ w << text.replaceAll("(:\\ )*\\d+\\.\\d+\\.\\d+", "\$1${version}")
75
76
builder.sh
gradle.properties
@@ -1,2 +1,2 @@
1
projectUrl=https://github.com/mageddo-projects/annotation-processing-tools.git
2
-version=2.4.1
+version=2.4.2
0 commit comments