Skip to content

Commit

Permalink
added a publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
jkutner committed Aug 1, 2014
1 parent 80c9cc1 commit 741546c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh

if [ ! -z "$1" ]; then
pushd . > /dev/null 2>&1
cd /tmp &&
git clone [email protected]:heroku/heroku-buildpack-scala.git &&
cd heroku-buildpack-scala &&
git checkout master &&
heroku buildpacks:publish $1/scala
popd > /dev/null 2>&1
echo "Cleaning up..."
rm -rf /tmp/heroku-buildpack-scala
echo "Done."
else
echo "You must provide a buildkit organization as an argument!"
exit 1
fi

0 comments on commit 741546c

Please sign in to comment.