[ 
https://issues.apache.org/jira/browse/LUCENE-9488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424850#comment-17424850
 ] 

Jan Høydahl commented on LUCENE-9488:
-------------------------------------

The old ant target 'prepare-release' invokes the targets 'clean, package, 
generate-maven-artifacts', and 'package' target includes 
'package-src-tgz,create-package,documentation,-dist-changes'. It all ends up 
with this folder structure in {{lucene/dist}}, which is then ready to upload to 
staging area:
{code:java}
├── changes
│   ├── Changes.html
│   ├── ChangesFancyStyle.css
│   ├── ChangesFixedWidthStyle.css
│   └── ChangesSimpleStyle.css
├── lucene-8.10.0-SNAPSHOT-src.tgz
├── lucene-8.10.0-SNAPSHOT-src.tgz.asc
├── lucene-8.10.0-SNAPSHOT-src.tgz.sha512
├── lucene-8.10.0-SNAPSHOT.tgz
├── lucene-8.10.0-SNAPSHOT.tgz.asc
├── lucene-8.10.0-SNAPSHOT.tgz.sha512
├── lucene-8.10.0-SNAPSHOT.zip
├── lucene-8.10.0-SNAPSHOT.zip.asc
├── lucene-8.10.0-SNAPSHOT.zip.sha512
└── maven{code}
In main/9.0 we execute targets 'assembleDist, signDist, mavenToLocalFolder' 
which ends up with this folder structure in the 
'lucene/packaging/build/distributions' folder:
{code:java}
├── lucene-9.0.0-src.tgz
├── lucene-9.0.0-src.tgz.asc
├── lucene-9.0.0-src.tgz.sha512
├── lucene-9.0.0.tgz
├── lucene-9.0.0.tgz.asc
├── lucene-9.0.0.tgz.sha512
├── lucene-9.0.0.zip
├── lucene-9.0.0.zip.asc
└── lucene-9.0.0.zip.sha512{code}
I.e. no 'maven' or 'changes'.

The maven files end up in 'build/maven-local', and the changes files seem to 
exist in 'lucene/documentation/build/site/changes'.

Question is whether the gradle build has a target to assemble these into one 
folder where buildAndPushRelease expects everything to be, or if we should add 
extra logic to buildAndPushRelease.

> Update release process to work with Gradle.
> -------------------------------------------
>
>                 Key: LUCENE-9488
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9488
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: general/build
>            Reporter: Erick Erickson
>            Assignee: Mike Drob
>            Priority: Major
>         Attachments: Skjermbilde 2021-10-05 kl. 11.18.28.png
>
>          Time Spent: 16h 20m
>  Remaining Estimate: 0h
>
> The release process needs to reflect using Gradle rather than Ant. I suspect 
> this will be a significant task, thus it has its own JIRA



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to