blob: 75bc0514d8b22407f45355259ce8ae74936b2ddb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env bash
binary="${0/*\/}"
fakeCommit="aaa000aaa000aaa000aaa000aaa000aaa000aaa0"
if [ "${binary}" = "clever" ] && [ "${1}" = "--version" ]; then
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 "${binary} called with arguments: ${*}"
fi
|