manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1688714 - /manifoldcf/release-scripts/release-elasticsearch-1.5.bat
Date Wed, 01 Jul 2015 19:41:08 GMT
Author: kwright
Date: Wed Jul  1 19:41:07 2015
New Revision: 1688714

URL: http://svn.apache.org/r1688714
Log:
Add new artifact release script

Added:
    manifoldcf/release-scripts/release-elasticsearch-1.5.bat   (with props)

Added: manifoldcf/release-scripts/release-elasticsearch-1.5.bat
URL: http://svn.apache.org/viewvc/manifoldcf/release-scripts/release-elasticsearch-1.5.bat?rev=1688714&view=auto
==============================================================================
--- manifoldcf/release-scripts/release-elasticsearch-1.5.bat (added)
+++ manifoldcf/release-scripts/release-elasticsearch-1.5.bat Wed Jul  1 19:41:07 2015
@@ -0,0 +1,54 @@
+@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\elasticsearch-1.5-plugin-mcf-%1-bin.tar.gz apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.tar.gz
+copy target\elasticsearch-1.5-plugin-mcf-%1-bin.zip apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.zip
+copy target\elasticsearch-1.5-plugin-mcf-%1-src.tar.gz apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.tar.gz
+copy target\elasticsearch-1.5-plugin-mcf-%1-src.zip apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.zip
+
+gpg --armor --output apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.zip.asc --detach-sig
apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.zip
+gpg --armor --output apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.tar.gz.asc --detach-sig
apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.tar.gz
+gpg --armor --output apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.zip.asc --detach-sig
apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.zip
+gpg --armor --output apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.tar.gz.asc --detach-sig
apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.tar.gz
+
+gpg --print-md MD5 apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.zip >apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.zip >apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.zip.sha
+gpg --print-md MD5 apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.tar.gz >apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.tar.gz >apache-manifoldcf-elasticsearch-1.5-plugin-%1-src.tar.gz.sha
+
+gpg --print-md MD5 apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.zip >apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.zip >apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.zip.sha
+gpg --print-md MD5 apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.tar.gz >apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.tar.gz >apache-manifoldcf-elasticsearch-1.5-plugin-%1-bin.tar.gz.sha
+
+copy KEYS apache-manifoldcf-elasticsearch-1.5-plugin-%1.KEYS
+copy CHANGES.txt apache-manifoldcf-elasticsearch-1.5-plugin-%1.CHANGES.txt
+svn mkdir %2\apache-manifoldcf-elasticsearch-1.5-plugin-%1
+cp apache-manifoldcf-elasticsearch-1.5-plugin-%1* %2\apache-manifoldcf-elasticsearch-1.5-plugin-%1
+svn add %2\apache-manifoldcf-elasticsearch-1.5-plugin-%1\*
+svn -m "Upload release candidate for MCF ElasticSearch 1.5 Plugin %1" commit %2\apache-manifoldcf-elasticsearch-1.5-plugin-%1
+
+:end
+

Propchange: manifoldcf/release-scripts/release-elasticsearch-1.5.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF



Mime
View raw message