Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8dfac5fa7d
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 20 lines (17 sloc) 0.522 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/bash

VERSION=0.5.0
TMPDIR=/tmp/google-api-php-client
RELFILE=/tmp/google-api-php-client-${VERSION}.tar.gz

rm -f $RELFILE
rm -rf $TMPDIR
mkdir $TMPDIR
cp -r * $TMPDIR
cd $TMPDIR
find . -name ".*" -exec rm -rf {} \; &>/dev/null
find . -name "makeRelease.sh" -exec rm -rf {} \; &>/dev/null
find . -name "local_*" -exec rm -rf {} \; &>/dev/null
find . -name "static" -exec rm -rf {} \; &>/dev/null
find . -name ".idea" -exec rm -rf {} \; &>/dev/null
cd ..
tar c google-api-php-client | gzip > $RELFILE
rm -rf $TMPDIR
Something went wrong with that request. Please try again.