Right now, the creation of status.json is only based on the repo and release_type.
It would be good to also add a check for the branch name (head_branch) to make sure that not nightly/prerelease is accidentally triggered from a user branch.
could be simple like "main" or startsWith("release/therock-") or could be more sophisticated to make sure that prereleases must be from release branches and nightly only from main.
function where the changes need to occure:
scripts/receive_therock/therock_update_status_json.py:update_status_json()
Right now, the creation of status.json is only based on the repo and release_type.
It would be good to also add a check for the branch name (
head_branch) to make sure that not nightly/prerelease is accidentally triggered from a user branch.could be simple like "main" or startsWith("release/therock-") or could be more sophisticated to make sure that prereleases must be from release branches and nightly only from main.
function where the changes need to occure:
scripts/receive_therock/therock_update_status_json.py:update_status_json()