aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-15 19:57:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-15 19:57:04 -0200
commit699db157b56831505a7a8025697837cb3a4d2bed (patch)
tree4209667c1c0680cbe6944f44c62f865e656e4865 /lib
parent180b8d34edfd37c199d5ce11bfc648ccd8ae8639 (diff)
downloadhydra-699db157b56831505a7a8025697837cb3a4d2bed.tar.gz
hydra-699db157b56831505a7a8025697837cb3a4d2bed.tar.bz2
Automatic deploy commit; apt-get clean on system-upgrade; TODO update
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/misc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc
index 0de9713..75ea0e9 100644
--- a/lib/hydra/misc
+++ b/lib/hydra/misc
@@ -2,7 +2,7 @@
# Set needed environment variables and do basic checks
function hydra_set_env {
- export COMMIT="439d340c3daeb7e186366a05877141907d0ba66d"
+ export COMMIT="`( cd $APP_BASE && git log -n 1 --pretty=oneline | cut -d " " -f 1 )`"
export CONFIG="$HOME/.hydra/config"
export ACTION="$1"