Commit 1c18af17 authored by Julien Bouquillon's avatar Julien Bouquillon 🐫

feat: show SHA in docker clone script

parent 9dc2756f
...@@ -5,5 +5,8 @@ GIT_STORAGE=/tmp/clones ...@@ -5,5 +5,8 @@ GIT_STORAGE=/tmp/clones
mkdir -p $GIT_STORAGE || true mkdir -p $GIT_STORAGE || true
git clone https://github.com/SocialGouv/legi-data $GIT_STORAGE/socialgouv/legi-data || (cd $GIT_STORAGE/socialgouv/legi-data && git pull) git clone https://github.com/SocialGouv/legi-data $GIT_STORAGE/socialgouv/legi-data || (cd $GIT_STORAGE/socialgouv/legi-data && git pull)
cd $GIT_STORAGE/socialgouv/legi-data && echo "legi-data : `git log --pretty=format:'%H' -n 1`"
git clone https://github.com/SocialGouv/kali-data $GIT_STORAGE/socialgouv/kali-data || (cd $GIT_STORAGE/socialgouv/kali-data && git pull) git clone https://github.com/SocialGouv/kali-data $GIT_STORAGE/socialgouv/kali-data || (cd $GIT_STORAGE/socialgouv/kali-data && git pull)
cd $GIT_STORAGE/socialgouv/kali-data && echo "kali-data : `git log --pretty=format:'%H' -n 1`"
git clone https://github.com/SocialGouv/fiches-vdd $GIT_STORAGE/socialgouv/fiches-vdd || (cd $GIT_STORAGE/socialgouv/fiches-vdd && git pull) git clone https://github.com/SocialGouv/fiches-vdd $GIT_STORAGE/socialgouv/fiches-vdd || (cd $GIT_STORAGE/socialgouv/fiches-vdd && git pull)
cd $GIT_STORAGE/socialgouv/fiches-vdd && echo "fiches-vdd : `git log --pretty=format:'%H' -n 1`"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment