experimenter/scripts/echo_version_json.sh

5 строки
200 B
Bash
Executable File

printf '{"commit":"%s","source":"%s","build":"%s"}\n' \
"$(git rev-parse HEAD)" \
"$(git config --local remote.origin.url | sed -e s,git@github.com:,https://github.com/,)" \
"$CIRCLE_BUILD_URL"