Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Add to svn
Browse files Browse the repository at this point in the history
git-svn-id: http://developer.marklogic.com/svn/commons/trunk@285 e04f4502-82db-0310-b1af-f799f365da79
  • Loading branch information
Ron Hitchens committed Mar 11, 2005
1 parent 380c703 commit 9fbbcb4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ziprelease.sh
@@ -0,0 +1,14 @@
#!/bin/sh

# Zip up everything in this directory and plop it in the
# "releases" directory one level up. The zip file is named
# with the verson number in the ../project/project.xml descriptor.
# Ron Hitchens, March 2005

basename=xquery-commons

version=`egrep "[:space:]*<version>.*</version>[:space:]*\$" ../project/project.xml | head -1 | sed "s@.*<version>\(.*\)</version>.*@\1@"`
zipfile=../releases/$basename-$version.zip
exclude="$zipfile ziprelease.sh *.svn*"

zip -r $zipfile * -x $exclude

0 comments on commit 9fbbcb4

Please sign in to comment.