fix release artifact names

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912588 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2023-09-29 01:01:46 +00:00
parent fdad7e1408
commit 6c91c5f807
3 changed files with 8 additions and 12 deletions

View 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

View File

@ -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"/>

View File

@ -24,12 +24,12 @@
<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>