projects
/
dotfiles
/
vim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1298aad
)
Autocommit of file /home/julien/.dotfiles/vim/.vim/bundle/vimtodo/make_dist.sh change...
author
Julien Valroff
<julien@kirya.net>
Tue, 1 Nov 2011 08:08:08 +0000
(09:08 +0100)
committer
Julien Valroff
<julien@kirya.net>
Tue, 1 Nov 2011 08:08:08 +0000
(09:08 +0100)
.vim/bundle/vimtodo/make_dist.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/.vim/bundle/vimtodo/make_dist.sh
b/.vim/bundle/vimtodo/make_dist.sh
new file mode 100755
(executable)
index 0000000..
bd29ad6
--- /dev/null
+++ b/
.vim/bundle/vimtodo/make_dist.sh
@@ -0,0
+1,18
@@
+#!/bin/bash
+[[ -z $1 ]] && {
+ echo "Usage: $0 [tag]"
+ exit 1
+}
+TAG=$1
+# Strip out any 'v' from the tag when making the filename (e.g. v0.1 -> 0.1)
+VER=${TAG#v}
+
+echo "Tagging $TAG"
+git tag -s -m "Tagging $TAG" $TAG
+cd ..
+echo "Making tarball - vimtodo-$VER.tgz"
+tar cz --exclude={.gitignore,.git,make_dist.sh,vimball.vim,*.swp} \
+ --exclude=vimtodo/test/*.{msgout,out,tap} \
+ --exclude=vimtodo/doc/tags \
+ --exclude=vimtodo.vba \
+ -f vimtodo-$VER.tgz vimtodo