manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1784838 - /manifoldcf/release-scripts/release-sharepoint-2016.bat
Date Wed, 01 Mar 2017 00:13:11 GMT
Author: kwright
Date: Wed Mar  1 00:13:11 2017
New Revision: 1784838

URL: http://svn.apache.org/viewvc?rev=1784838&view=rev
Log:
Add new script for releasing sp 2016

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

Added: manifoldcf/release-scripts/release-sharepoint-2016.bat
URL: http://svn.apache.org/viewvc/manifoldcf/release-scripts/release-sharepoint-2016.bat?rev=1784838&view=auto
==============================================================================
--- manifoldcf/release-scripts/release-sharepoint-2016.bat (added)
+++ manifoldcf/release-scripts/release-sharepoint-2016.bat Wed Mar  1 00:13:11 2017
@@ -0,0 +1,49 @@
+@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 ant image
+
+gpg --armor --output apache-manifoldcf-sharepoint-2016-plugin-%1-src.zip.asc --detach-sig
apache-manifoldcf-sharepoint-2016-plugin-%1-src.zip
+gpg --armor --output apache-manifoldcf-sharepoint-2016-plugin-%1-src.tar.gz.asc --detach-sig
apache-manifoldcf-sharepoint-2016-plugin-%1-src.tar.gz
+gpg --armor --output apache-manifoldcf-sharepoint-2016-plugin-%1-bin.zip.asc --detach-sig
apache-manifoldcf-sharepoint-2016-plugin-%1-bin.zip
+gpg --armor --output apache-manifoldcf-sharepoint-2016-plugin-%1-bin.tar.gz.asc --detach-sig
apache-manifoldcf-sharepoint-2016-plugin-%1-bin.tar.gz
+
+rem gpg is pretty broken when it comes to md5 output...
+
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2016-plugin-%1-src.zip >apache-manifoldcf-sharepoint-2016-plugin-%1-src.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2016-plugin-%1-src.zip >apache-manifoldcf-sharepoint-2016-plugin-%1-src.zip.sha
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2016-plugin-%1-src.tar.gz >apache-manifoldcf-sharepoint-2016-plugin-%1-src.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2016-plugin-%1-src.tar.gz >apache-manifoldcf-sharepoint-2016-plugin-%1-src.tar.gz.sha
+
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2016-plugin-%1-bin.zip >apache-manifoldcf-sharepoint-2016-plugin-%1-bin.zip.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2016-plugin-%1-bin.zip >apache-manifoldcf-sharepoint-2016-plugin-%1-bin.zip.sha
+gpg --print-md MD5 apache-manifoldcf-sharepoint-2016-plugin-%1-bin.tar.gz >apache-manifoldcf-sharepoint-2016-plugin-%1-bin.tar.gz.md5
+gpg --print-md SHA512 apache-manifoldcf-sharepoint-2016-plugin-%1-bin.tar.gz >apache-manifoldcf-sharepoint-2016-plugin-%1-bin.tar.gz.sha
+
+copy KEYS apache-manifoldcf-sharepoint-2016-plugin-%1.KEYS
+copy CHANGES.txt apache-manifoldcf-sharepoint-2016-plugin-%1.CHANGES.txt
+svn mkdir %2\apache-manifoldcf-sharepoint-2016-plugin-%1
+cp apache-manifoldcf-sharepoint-2016-plugin-%1* %2\apache-manifoldcf-sharepoint-2016-plugin-%1
+svn add %2\apache-manifoldcf-sharepoint-2016-plugin-%1\*
+svn -m "Upload release candidate for MCF SharePoint 2016 Plugin %1" commit %2\apache-manifoldcf-sharepoint-2016-plugin-%1
+
+:end
+

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



Mime
View raw message