diff options
author | Dominik Stadler <centic@apache.org> | 2021-10-22 14:32:03 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2021-10-22 14:32:03 +0000 |
commit | 60dd0e54641c953c188f04fb9d1ec189a89642a2 (patch) | |
tree | b3707a66e3825afbdaa3e9b3ec08dfe8af8de26e | |
parent | d59824cc9e545e1e2a643aae29be25b4efb1082b (diff) | |
download | poi-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.gradle | 2 |
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</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}'" ] ] |