Skip to content

Include GitHub repo in build #4943

@netmindz

Description

@netmindz

Update the build of WLED so that during the platformio build their is a python script that looks to extract the git repo URL for the current checkout, then extract the organisation and repo name (the first two parts of the path, e.g wled/wled) as a new value called repo

If git remote branch can not be detected or is not from GitHub.com it should be set to unknown

This value is then included into the build such that it can be returned alongside the release name in the API

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions