mirror of https://github.com/apache/lucene.git
add a stage target and a mech. for copying artifacts to staging on people.apache.org
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
81c756adf0
commit
ebaffef1c1
|
@ -917,9 +917,35 @@
|
||||||
<sign-artifact input.file="${maven.dist.prefix}/solr-parent/${version}/solr-parent-${version}.pom" gpg.passphrase="${gpg.passphrase}"/>
|
<sign-artifact input.file="${maven.dist.prefix}/solr-parent/${version}/solr-parent-${version}.pom" gpg.passphrase="${gpg.passphrase}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<property name="rc" value="rc0"/>
|
||||||
|
<property name="remote.staging.dir" value="public_html/staging_area/${rc}/${version}"/>
|
||||||
|
<property name="keyfile" value="${user.home}/.ssh/id_rsa"/>
|
||||||
|
<property name="scp.user" value="${user.name}"/>
|
||||||
|
<!--keys.dir is the location of the https://svn.apache.org/repos/asf/lucene/java/dist/ directory-->
|
||||||
|
<property name="keys.dir" value="${common-solr.dir}/../../dist"/>
|
||||||
|
<target name="copy-to-stage">
|
||||||
|
<sshexec host="people.apache.org"
|
||||||
|
username="${scp.user}"
|
||||||
|
keyfile="${keyfile}"
|
||||||
|
command="mkdir -p ${remote.staging.dir}"/>
|
||||||
|
<echo>Uploading artifacts to ${scp.user}@people.apache.org:${remote.staging.dir}</echo>
|
||||||
|
<scp todir="${scp.user}@people.apache.org:${remote.staging.dir}"
|
||||||
|
username="${scp.user}"
|
||||||
|
keyfile="${keyfile}"
|
||||||
|
verbose="true"
|
||||||
|
>
|
||||||
|
<fileset dir="dist"/>
|
||||||
|
<fileset dir="${keys.dir}">
|
||||||
|
<include name="KEYS"/>
|
||||||
|
</fileset>
|
||||||
|
</scp>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="prepare-release" depends="clean, svn-up, package, sign-artifacts"
|
<target name="prepare-release" depends="clean, svn-up, package, sign-artifacts"
|
||||||
description="Prototype helper for Committers. Assumes gpg is in the path"/>
|
description="Prototype helper for Committers. Assumes gpg is in the path"/>
|
||||||
|
|
||||||
|
<target name="stage" depends="prepare-release, copy-to-stage"/>
|
||||||
|
|
||||||
<target name="generate-maven-artifacts" depends="maven.ant.tasks-check,dist,dist-src,dist-javadoc">
|
<target name="generate-maven-artifacts" depends="maven.ant.tasks-check,dist,dist-src,dist-javadoc">
|
||||||
<sequential>
|
<sequential>
|
||||||
<ant target="get-maven-poms" dir=".."/>
|
<ant target="get-maven-poms" dir=".."/>
|
||||||
|
|
Loading…
Reference in New Issue