Author: kwright
Date: Wed Dec 18 07:18:29 2019
New Revision: 1871726

URL: http://svn.apache.org/viewvc?rev=1871726&view=rev
Log:
Add Solr-8.x release script

Added:
    manifoldcf/release-scripts/release-solr-8.x.bat   (with props)

Added: manifoldcf/release-scripts/release-solr-8.x.bat
URL: 
http://svn.apache.org/viewvc/manifoldcf/release-scripts/release-solr-8.x.bat?rev=1871726&view=auto
==============================================================================
--- manifoldcf/release-scripts/release-solr-8.x.bat (added)
+++ manifoldcf/release-scripts/release-solr-8.x.bat Wed Dec 18 07:18:29 2019
@@ -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:single
+
+copy target\apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz 
apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz
+copy target\apache-manifoldcf-solr-8.x-plugin-%1-bin.zip 
apache-manifoldcf-solr-8.x-plugin-%1-bin.zip
+copy target\apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz 
apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz
+copy target\apache-manifoldcf-solr-8.x-plugin-%1-src.zip 
apache-manifoldcf-solr-8.x-plugin-%1-src.zip
+
+gpg --armor --output apache-manifoldcf-solr-8.x-plugin-%1-src.zip.asc 
--detach-sig apache-manifoldcf-solr-8.x-plugin-%1-src.zip
+gpg --armor --output apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz.asc 
--detach-sig apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz
+gpg --armor --output apache-manifoldcf-solr-8.x-plugin-%1-bin.zip.asc 
--detach-sig apache-manifoldcf-solr-8.x-plugin-%1-bin.zip
+gpg --armor --output apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz.asc 
--detach-sig apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz
+
+rem gpg is pretty broken when it comes to md5 output...
+
+gpg --print-md MD5 apache-manifoldcf-solr-8.x-plugin-%1-src.zip 
>apache-manifoldcf-solr-8.x-plugin-%1-src.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-8.x-plugin-%1-src.zip 
>apache-manifoldcf-solr-8.x-plugin-%1-src.zip.sha512
+gpg --print-md MD5 apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz 
>apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz 
>apache-manifoldcf-solr-8.x-plugin-%1-src.tar.gz.sha512
+
+gpg --print-md MD5 apache-manifoldcf-solr-8.x-plugin-%1-bin.zip 
>apache-manifoldcf-solr-8.x-plugin-%1-bin.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-8.x-plugin-%1-bin.zip 
>apache-manifoldcf-solr-8.x-plugin-%1-bin.zip.sha512
+gpg --print-md MD5 apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz 
>apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz 
>apache-manifoldcf-solr-8.x-plugin-%1-bin.tar.gz.sha512
+
+copy KEYS apache-manifoldcf-solr-8.x-plugin-%1.KEYS
+copy CHANGES.txt apache-manifoldcf-solr-8.x-plugin-%1.CHANGES.txt
+svn mkdir %2\apache-manifoldcf-solr-8.x-plugin-%1
+copy apache-manifoldcf-solr-8.x-plugin-%1* 
%2\apache-manifoldcf-solr-8.x-plugin-%1
+svn add %2\apache-manifoldcf-solr-8.x-plugin-%1\*
+svn -m "Upload release candidate for MCF Solr 8.x Plugin %1" commit 
%2\apache-manifoldcf-solr-8.x-plugin-%1
+
+:end
+

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


Reply via email to