v.licheni.net
/
stack
/
conf
/
vim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
awful hg repo, taghilight include
[stack/conf/vim.git]
/
addons
/
TagHighlight
/
dist
/
vcs_publish.sh
diff --git a/addons/TagHighlight/dist/vcs_publish.sh
b/addons/TagHighlight/dist/vcs_publish.sh
new file mode 100644
(file)
index 0000000..
4f6deab
--- /dev/null
+++ b/
addons/TagHighlight/dist/vcs_publish.sh
@@ -0,0
+1,13
@@
+#!/bin/bash
+
+BBUSER=abudden
+BBPROJ=taghighlight
+
+BITBUCKET=ssh://hg@bitbucket.org/${BBUSER}/${BBPROJ}
+
+hg push $BITBUCKET
+# Only fail on error, not on "no changes to push"
+if [ $? -gt 1 ]
+then
+ exit 255
+fi