manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1664993 - in /manifoldcf/release-scripts: release-solr-3.x.bat release-solr-4.x.bat release-solr-5.x.bat
Date Sun, 08 Mar 2015 14:13:11 GMT
Author: kwright
Date: Sun Mar  8 14:13:11 2015
New Revision: 1664993

URL: http://svn.apache.org/r1664993
Log:
Fix release scripts for solr, and add one for 5.x

Added:
    manifoldcf/release-scripts/release-solr-5.x.bat   (with props)
Modified:
    manifoldcf/release-scripts/release-solr-3.x.bat
    manifoldcf/release-scripts/release-solr-4.x.bat

Modified: manifoldcf/release-scripts/release-solr-3.x.bat
URL: http://svn.apache.org/viewvc/manifoldcf/release-scripts/release-solr-3.x.bat?rev=1664993&r1=1664992&r2=1664993&view=diff
==============================================================================
--- manifoldcf/release-scripts/release-solr-3.x.bat (original)
+++ manifoldcf/release-scripts/release-solr-3.x.bat Sun Mar  8 14:13:11 2015
@@ -19,7 +19,14 @@ goto end
 @echo on
 
 erase apache-manifoldcf-*
-cmd.exe /c ant clean-deps make-deps clean image
+
+cmd.exe /c mvn clean
+cmd.exe /c mvn package assembly:assembly
+
+copy target\apache-manifoldcf-solr-3.x-plugin-%1-bin.tar.gz apache-manifoldcf-solr-3.x-plugin-%1-bin.tar.gz
+copy target\apache-manifoldcf-solr-3.x-plugin-%1-bin.zip apache-manifoldcf-solr-3.x-plugin-%1-bin.zip
+copy target\apache-manifoldcf-solr-3.x-plugin-%1-src.tar.gz apache-manifoldcf-solr-3.x-plugin-%1-src.tar.gz
+copy target\apache-manifoldcf-solr-3.x-plugin-%1-src.zip apache-manifoldcf-solr-3.x-plugin-%1-src.zip
 
 gpg --armor --output apache-manifoldcf-solr-3.x-plugin-%1-src.zip.asc --detach-sig apache-manifoldcf-solr-3.x-plugin-%1-src.zip
 gpg --armor --output apache-manifoldcf-solr-3.x-plugin-%1-src.tar.gz.asc --detach-sig apache-manifoldcf-solr-3.x-plugin-%1-src.tar.gz

Modified: manifoldcf/release-scripts/release-solr-4.x.bat
URL: http://svn.apache.org/viewvc/manifoldcf/release-scripts/release-solr-4.x.bat?rev=1664993&r1=1664992&r2=1664993&view=diff
==============================================================================
--- manifoldcf/release-scripts/release-solr-4.x.bat (original)
+++ manifoldcf/release-scripts/release-solr-4.x.bat Sun Mar  8 14:13:11 2015
@@ -19,7 +19,14 @@ goto end
 @echo on
 
 erase apache-manifoldcf-*
-cmd.exe /c ant clean-deps make-deps clean image
+
+cmd.exe /c mvn clean
+cmd.exe /c mvn package assembly:assembly
+
+copy target\apache-manifoldcf-solr-4.x-plugin-%1-bin.tar.gz apache-manifoldcf-solr-4.x-plugin-%1-bin.tar.gz
+copy target\apache-manifoldcf-solr-4.x-plugin-%1-bin.zip apache-manifoldcf-solr-4.x-plugin-%1-bin.zip
+copy target\apache-manifoldcf-solr-4.x-plugin-%1-src.tar.gz apache-manifoldcf-solr-4.x-plugin-%1-src.tar.gz
+copy target\apache-manifoldcf-solr-4.x-plugin-%1-src.zip apache-manifoldcf-solr-4.x-plugin-%1-src.zip
 
 gpg --armor --output apache-manifoldcf-solr-4.x-plugin-%1-src.zip.asc --detach-sig apache-manifoldcf-solr-4.x-plugin-%1-src.zip
 gpg --armor --output apache-manifoldcf-solr-4.x-plugin-%1-src.tar.gz.asc --detach-sig apache-manifoldcf-solr-4.x-plugin-%1-src.tar.gz

Added: manifoldcf/release-scripts/release-solr-5.x.bat
URL: http://svn.apache.org/viewvc/manifoldcf/release-scripts/release-solr-5.x.bat?rev=1664993&view=auto
==============================================================================
--- manifoldcf/release-scripts/release-solr-5.x.bat (added)
+++ manifoldcf/release-scripts/release-solr-5.x.bat Sun Mar  8 14:13:11 2015
@@ -0,0 +1,56 @@
+@echo off
+if "%1" == "" goto missingrelease
+if "%2" == "" goto missingdir
+goto proceed
+
+:missingrelease
+echo "Need a release version, e.g. '0.1-incubating'"
+goto usage
+
+:missingdir
+echo "Need a release svn directory"
+goto end
+
+:usage
+echo "Usage: release <release_name> <release_svn_directory>"
+goto end
+
+:proceed
+@echo on
+
+erase apache-manifoldcf-*
+
+cmd.exe /c mvn clean
+cmd.exe /c mvn package assembly:assembly
+
+copy target\apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz
+copy target\apache-manifoldcf-solr-5.x-plugin-%1-bin.zip apache-manifoldcf-solr-5.x-plugin-%1-bin.zip
+copy target\apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz
+copy target\apache-manifoldcf-solr-5.x-plugin-%1-src.zip apache-manifoldcf-solr-5.x-plugin-%1-src.zip
+
+gpg --armor --output apache-manifoldcf-solr-5.x-plugin-%1-src.zip.asc --detach-sig apache-manifoldcf-solr-5.x-plugin-%1-src.zip
+gpg --armor --output apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz.asc --detach-sig apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz
+gpg --armor --output apache-manifoldcf-solr-5.x-plugin-%1-bin.zip.asc --detach-sig apache-manifoldcf-solr-5.x-plugin-%1-bin.zip
+gpg --armor --output apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz.asc --detach-sig apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz
+
+rem gpg is pretty broken when it comes to md5 output...
+
+gpg --print-md MD5 apache-manifoldcf-solr-5.x-plugin-%1-src.zip >apache-manifoldcf-solr-5.x-plugin-%1-src.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-5.x-plugin-%1-src.zip >apache-manifoldcf-solr-5.x-plugin-%1-src.zip.sha
+gpg --print-md MD5 apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz >apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz >apache-manifoldcf-solr-5.x-plugin-%1-src.tar.gz.sha
+
+gpg --print-md MD5 apache-manifoldcf-solr-5.x-plugin-%1-bin.zip >apache-manifoldcf-solr-5.x-plugin-%1-bin.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-5.x-plugin-%1-bin.zip >apache-manifoldcf-solr-5.x-plugin-%1-bin.zip.sha
+gpg --print-md MD5 apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz >apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz >apache-manifoldcf-solr-5.x-plugin-%1-bin.tar.gz.sha
+
+copy KEYS apache-manifoldcf-solr-5.x-plugin-%1.KEYS
+copy CHANGES.txt apache-manifoldcf-solr-5.x-plugin-%1.CHANGES.txt
+svn mkdir %2\apache-manifoldcf-solr-5.x-plugin-%1
+cp apache-manifoldcf-solr-5.x-plugin-%1* %2\apache-manifoldcf-solr-5.x-plugin-%1
+svn add %2\apache-manifoldcf-solr-5.x-plugin-%1\*
+svn -m "Upload release candidate for MCF Solr 5.x Plugin %1" commit %2\apache-manifoldcf-solr-5.x-plugin-%1
+
+:end
+

Propchange: manifoldcf/release-scripts/release-solr-5.x.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF



Mime
View raw message