Added git-extras-version

This commit is contained in:
Tj Holowaychuk 2010-08-27 13:44:41 -07:00
parent d91aab34e5
commit 2675fbf411
3 changed files with 6 additions and 1 deletions

View file

@ -12,6 +12,7 @@ BINS = \
git-summary \
git-contrib \
git-update-extras \
git-extras-version \
git-release
install:

2
bin/git-extras-version Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
echo "0.0.2"

View file

@ -1,11 +1,13 @@
#!/bin/sh
orig=$PWD
version=`git extras-version`
cd /tmp \
&& rm -fr ./git-extras \
&& git clone http://github.com/visionmedia/git-extras.git \
&& cd git-extras \
&& make install \
&& cd $orig \
&& echo "... update complete"
&& echo "... updated to git-extras $version"