I am trying to fetch a github latest release from a recipe(bitbake) using yocto build system.
My recipe looks like this...
DESCRIPTION = "web based app "
LICENSE = "CLOSED"
APP_DESTINATION = "${libdir}/App"
SRC_URI = " \
https://github.com/User/App/releases/download/latest/App.zip;github_private_asset=1 \
"
S = "${WORKDIR}"
do_install_append() {
install -d ${D}${APP_DESTINATION}
cp -r ${S}/App/* ${D}${APP_DESTINATION}
}
FILES_${PN} += "\
${APP_DESTINATION}/* \
"
but it says..
Resolving github.com (github.com)... 170.72.121.4
Connecting to github.com (github.com)|170.72.121.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-04 07:10:36 ERROR 404: Not Found.
Can someone please help how to fetch the releases?