Skip to content

Commit

Permalink
fix release artifact names
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1912588 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pjfanning committed Sep 29, 2023
1 parent fdad7e1 commit 6c91c5f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
14 changes: 5 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -99,7 +100,7 @@ allprojects {
// apply plugin: 'eclipse'
apply plugin: 'idea'

version = '5.2.4'
version = '5.2.5-SNAPSHOT'
}

/**
Expand Down Expand Up @@ -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/**'
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
4 changes: 2 additions & 2 deletions osgi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 6c91c5f

Please sign in to comment.