chore: Update generate_info_json.sh
This commit is contained in:
parent
fbe47a4522
commit
692a9f4370
|
|
@ -34,11 +34,9 @@ jq -n \
|
||||||
--arg commitSha "$commit_sha" \
|
--arg commitSha "$commit_sha" \
|
||||||
--arg commitUrl "$base_url/commit/$commit_sha" \
|
--arg commitUrl "$base_url/commit/$commit_sha" \
|
||||||
--arg gitRef "$git_ref" \
|
--arg gitRef "$git_ref" \
|
||||||
--arg githubRef "$git_ref" \
|
--arg githubRef "${GITHUB_REF-}" \
|
||||||
--arg gitNearestTag "$git_tag" \
|
--arg gitNearestTag "$git_tag" \
|
||||||
--arg githubRunUrl "${github_run_url-}" \
|
--arg githubRunUrl "${github_run_url-}" \
|
||||||
--arg gitUserName "$(git config user.name)" \
|
|
||||||
--arg gitUserEmail "$(git config user.email)" \
|
|
||||||
--arg date "$(date -u -Iseconds)" \
|
--arg date "$(date -u -Iseconds)" \
|
||||||
--argjson isCI "${CI:-false}" \
|
--argjson isCI "${CI:-false}" \
|
||||||
'$ARGS.named' | tee "$(git rev-parse --show-toplevel)/info.json"
|
'$ARGS.named' | tee "$(git rev-parse --show-toplevel)/info.json"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user