You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2014/07/24 17:56:12 UTC

svn commit: r1613170 - /manifoldcf/release-scripts/release-sharepoint-2013.bat

Author: kwright
Date: Thu Jul 24 15:56:11 2014
New Revision: 1613170

URL: http://svn.apache.org/r1613170
Log:
Add a release script for SharePoint 2013 plugin

Added:
    manifoldcf/release-scripts/release-sharepoint-2013.bat   (with props)

Added: manifoldcf/release-scripts/release-sharepoint-2013.bat
URL: http://svn.apache.org/viewvc/manifoldcf/release-scripts/release-sharepoint-2013.bat?rev=1613170&view=auto
==============================================================================
--- manifoldcf/release-scripts/release-sharepoint-2013.bat (added)
+++ manifoldcf/release-scripts/release-sharepoint-2013.bat Thu Jul 24 15:56:11 2014
@@ -0,0 +1,51 @@
+@echo off
+if "%1" == "" goto missingrelease
+if "%2" == "" goto missinguser
+if "%3" == "" goto missingkey
+goto proceed
+
+:missingrelease
+echo "Need a release version, e.g. '0.1-incubating'"
+goto usage
+
+:missinguser
+echo "Need an Apache user account name, e.g. 'kwright'
+goto usage
+
+:missingkey
+echo "Need a private SSH key, use puttygen"
+goto usage
+
+:usage
+echo "Usage: release <release_name> <apache_user_name> <private_key>"
+goto end
+
+:proceed
+@echo on
+
+erase apache-manifoldcf-*
+cmd.exe /c ant image
+
+gpg --armor --output apache-manifoldcf-sharepoint-2013-plugin-%1-src.zip.asc --detach-sig apache-manifoldcf-sharepoint-2013-plugin-%1-src.zip
+gpg --armor --output apache-manifoldcf-sharepoint-2013-plugin-%1-src.tar.gz.asc --detach-sig apache-manifoldcf-sharepoint-2013-plugin-%1-src.tar.gz
+gpg --armor --output apache-manifoldcf-sharepoint-2013-plugin-%1-bin.zip.asc --detach-sig apache-manifoldcf-sharepoint-2013-plugin-%1-bin.zip
+gpg --armor --output apache-manifoldcf-sharepoint-2013-plugin-%1-bin.tar.gz.asc --detach-sig apache-manifoldcf-sharepoint-2013-plugin-%1-bin.tar.gz
+
+rem gpg is pretty broken when it comes to md5 output...
+
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2013-plugin-%1-src.zip >apache-manifoldcf-sharepoint-2013-plugin-%1-src.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2013-plugin-%1-src.zip >apache-manifoldcf-sharepoint-2013-plugin-%1-src.zip.sha
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2013-plugin-%1-src.tar.gz >apache-manifoldcf-sharepoint-2013-plugin-%1-src.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2013-plugin-%1-src.tar.gz >apache-manifoldcf-sharepoint-2013-plugin-%1-src.tar.gz.sha
+
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2013-plugin-%1-bin.zip >apache-manifoldcf-sharepoint-2013-plugin-%1-bin.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2013-plugin-%1-bin.zip >apache-manifoldcf-sharepoint-2013-plugin-%1-bin.zip.sha
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2013-plugin-%1-bin.tar.gz >apache-manifoldcf-sharepoint-2013-plugin-%1-bin.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2013-plugin-%1-bin.tar.gz >apache-manifoldcf-sharepoint-2013-plugin-%1-bin.tar.gz.sha
+
+copy KEYS apache-manifoldcf-sharepoint-2013-plugin-%1.KEYS
+copy CHANGES.txt apache-manifoldcf-sharepoint-2013-plugin-%1.CHANGES.txt
+pscp -i %3 apache-manifoldcf-sharepoint-2013-plugin-%1* %2@people.apache.org:public_html/apache-manifoldcf-sharepoint-2013-plugin-%1
+
+:end
+

Propchange: manifoldcf/release-scripts/release-sharepoint-2013.bat
------------------------------------------------------------------------------
    svn:eol-style = CRLF