aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2021-10-22 14:32:03 +0000
committerDominik Stadler <centic@apache.org>2021-10-22 14:32:03 +0000
commit60dd0e54641c953c188f04fb9d1ec189a89642a2 (patch)
treeb3707a66e3825afbdaa3e9b3ec08dfe8af8de26e
parentd59824cc9e545e1e2a643aae29be25b4efb1082b (diff)
downloadpoi-60dd0e54641c953c188f04fb9d1ec189a89642a2.tar.gz
poi-60dd0e54641c953c188f04fb9d1ec189a89642a2.zip
Adjust version-pattern used in task 'replaceVersion'
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894481 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 056d4cd63a..68a503520e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -578,7 +578,7 @@ task replaceVersion() {
var tokens = [
// [ 'sonar', '**/pom.xml', '(packaging>\\n\\s*<version>)[0-9.]+(?:-SNAPSHOT)?', "\\1${version}" ],
// [ 'sonar', '**/pom.xml', '(poi-parent&lt;/artifactId>\\n\\s*<version>)[0-9.]+(?:-SNAPSHOT)?', "\1${version}" ],
- [ 'osgi', 'pom.xml', '(packaging>\\n\\s*<version>)[0-9.]+(?:-SNAPSHOT)?', "\\1${version}" ]
+ [ 'osgi', 'pom.xml', '(packaging>\\n\\s*<version>)[0-9.]+(?:-SNAPSHOT|-RC\\d+)?', "\\1${version}" ]
// [ '.', 'build.gradle', ' version = \'[0-9.]+(?:-SNAPSHOT)?\'', " version = '${version}'" ]
]