summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-15 11:38:56 +0200
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-01-15 11:38:56 +0200
commitbecc5c2f753c984f7418ef44467f129ad66ed512 (patch)
tree2a573eb87c4337904f87fc9b1ccbdaf8e4ddb3cc
parent13d0c3828b2ec85caa51ac1d9dcef81257a6880b (diff)
downloadmorph-becc5c2f753c984f7418ef44467f129ad66ed512.tar.gz
distbuild admin: Update morph.git on each run
Otherwise the ref being checked out might not exist in the local clone.
-rw-r--r--distbuild/ansible/use-latest-morph.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/distbuild/ansible/use-latest-morph.yaml b/distbuild/ansible/use-latest-morph.yaml
index b8f715f5..24a8157c 100644
--- a/distbuild/ansible/use-latest-morph.yaml
+++ b/distbuild/ansible/use-latest-morph.yaml
@@ -22,6 +22,11 @@
args:
creates: /srv/morph
+ - name: update Morph repository
+ command: git remote update origin
+ args:
+ chdir: /srv/morph
+
- name: check out specified version of Morph
command: git checkout {{ MORPH_VERSION }}
args: