Browse Source

Show build version without changing main version (#748)

relax-uas-blacklist
Luke Childs 4 years ago
committed by GitHub
parent
commit
83f58aa80c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/update/update

2
scripts/update/update

@ -48,7 +48,7 @@ if [[ "${update_type}" == "repo" ]]; then
mv "${repo_path}/info.json" "${repo_path}/info.json.orig" mv "${repo_path}/info.json" "${repo_path}/info.json.orig"
jq \ jq \
--arg commit "${commit}" \ --arg commit "${commit}" \
'.version = .version + "-build-" + $commit' \ '.build = $commit' \
"${repo_path}/info.json.orig" \ "${repo_path}/info.json.orig" \
> "${repo_path}/info.json" > "${repo_path}/info.json"

Loading…
Cancel
Save