mirror of
https://github.com/tj/git-extras.git
synced 2026-09-11 16:06:20 -04:00
Added git-extras-version
This commit is contained in:
parent
d91aab34e5
commit
2675fbf411
1
Makefile
1
Makefile
|
|
@ -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
2
bin/git-extras-version
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
echo "0.0.2"
|
||||
|
|
@ -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"
|
||||
|
||||
Loading…
Reference in a new issue