]> git.immae.eu Git - github/fretlink/ansible-clever.git/blobdiff - tests/fake.sh
Merge pull request #70 from paulrbr-fl/clever-restart
[github/fretlink/ansible-clever.git] / tests / fake.sh
index 2835e854f50dcbcc403cba9a9eff69f3dbff2112..bbb4380637bf691669764043ccd1856cc9ec4c6e 100755 (executable)
@@ -4,11 +4,12 @@ binary="${0/*\/}"
 fakeCommit="aaa000aaa000aaa000aaa000aaa000aaa000aaa0"
 
 if [ "${binary}" = "clever" ] && [ "${1}" = "--version" ]; then
-    echo "1.6.3"
+    echo "2.6.1"
 elif [ "${binary}" = "clever" ] && [ "${1}" = "activity" ]; then
     echo "2020-02-02T20:20:02+02:00  OK         DEPLOY     ${fakeCommit}  Git"
 elif [ "${binary}" = "git" ]; then
     echo "${fakeCommit}"
 else
+    echo "${1}" >> "${binary}-commands"
     echo "${binary} called with arguments: ${*}"
 fi