include RELEASE_NOTES in the build artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/tags/REL_3_7@1022483 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4eb494c31
commit
9182c4a6d8
|
@ -41,7 +41,6 @@
|
|||
# @author Yegor Kozlov
|
||||
|
||||
M2_REPOSITORY=scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository
|
||||
M2_SCP=people.apache.org:/www/people.apache.org/repo/m2-ibiblio-rsync-repository
|
||||
|
||||
VERSION=@VERSION@
|
||||
DSTAMP=@DSTAMP@
|
||||
|
@ -51,13 +50,10 @@ do
|
|||
mvn gpg:sign-and-deploy-file -DrepositoryId=apache-releases -P apache-releases \
|
||||
-Durl=$M2_REPOSITORY \
|
||||
-Dfile=$artifactId-$VERSION-$DSTAMP.jar -DpomFile=$artifactId-$VERSION.pom
|
||||
#The maven sign-and-deploy-file command does NOT sign POM files, so we have to upload the POM's .asc manually
|
||||
scp $artifactId-$VERSION.pom.asc $M2_SCP/org/apache/poi/$artifactId/$VERSION/
|
||||
|
||||
if [ -r $artifactId-$VERSION-sources-$DSTAMP.jar ]; then
|
||||
mvn deploy:deploy-file -DrepositoryId=apache-releases -P apache-releases \
|
||||
-Durl=$M2_REPOSITORY -DgeneratePom=false -Dpackaging=java-source \
|
||||
-Dfile=$artifactId-$VERSION-sources-$DSTAMP.jar -DpomFile=$artifactId-$VERSION.pom
|
||||
scp $artifactId-$VERSION-sources-$DSTAMP.jar.asc $M2_SCP/org/apache/poi/$artifactId/$VERSION/$artifactId-$VERSION-sources.jar.asc
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue