]> source.dussan.org Git - poi.git/commitdiff
fix release artifact names
authorPJ Fanning <fanningpj@apache.org>
Fri, 29 Sep 2023 01:01:46 +0000 (01:01 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 29 Sep 2023 01:01:46 +0000 (01:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912588 13f79535-47bb-0310-9956-ffa450edef68

build.gradle
build.xml
osgi/pom.xml

index 3218006718e4db266dfd7d4e3cbc7d03b7259183..40a3f10ba6969e3f1578074d97f9278fb471f988 100644 (file)
@@ -52,7 +52,8 @@ if (project.hasProperty('enableSonar')) {
     apply plugin: 'org.sonarqube'
 }
 
-boolean isCIBuild = false;
+boolean isCIBuild = false
+String date = new Date().format('yyyyMMdd')
 
 // For help converting an Ant build to a Gradle build, see
 // https://docs.gradle.org/current/userguide/ant.html
@@ -99,7 +100,7 @@ allprojects {
 //    apply plugin: 'eclipse'
     apply plugin: 'idea'
 
-    version = '5.2.4'
+    version = '5.2.5-SNAPSHOT'
 }
 
 /**
@@ -722,14 +723,7 @@ tasks.withType(Tar) {
 }
 
 distributions {
-    var version = subprojects[0].version
-    var date = new Date().format('yyyyMMdd')
-
-    var poiDep = project(':poi').configurations.getAt('compileClasspath')
-    var ooxmlImp = project(':poi-ooxml').configurations.getAt('compileClasspath')
-
     src {
-        distributionBaseName = "poi-src-${version}-${date}"
         contents {
             from('.') {
                 exclude '*/build/**'
@@ -819,6 +813,8 @@ var srcDep = [
     ':poi-ooxml-lite:generateModuleInfo'
 ]
 
+srcDistTar.setArchiveFileName("poi-src-${subprojects[0].version}-${date}.tgz")
+srcDistZip.setArchiveFileName("poi-src-${subprojects[0].version}-${date}.zip")
 srcDistTar.dependsOn srcDep
 srcDistZip.dependsOn srcDep
 soLinkCheck.dependsOn srcDep
index 3b550df1cdc27a25b75e390d609cc61db33e3eed..2926b4f5f158769e5bca0a8398d4b9009e521bc7 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -42,7 +42,7 @@ under the License.
 
     <description>The Apache POI project Ant build.</description>
 
-    <property name="version.id" value="5.2.4"/>
+    <property name="version.id" value="5.2.5-SNAPSHOT"/>
     <property name="release.rc" value=""/>
 
     <property environment="env"/>
index 4de8b5ba8619a53d5392d73f8c43b8ef7a045c10..770fff480b2d724c947114287e4b2e0871159b87 100644 (file)
     <groupId>org.apache.poi</groupId>
     <artifactId>poi-bundle</artifactId>
     <packaging>bundle</packaging>
-    <version>5.2.4</version>
+    <version>5.2.5-SNAPSHOT</version>
 
     <name>Apache POI OSGi bundle</name>
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <poi.version>5.2.4</poi.version>
+        <poi.version>5.2.5-SNAPSHOT</poi.version>
         <pax.exam.version>4.12.0</pax.exam.version>
     </properties>