Closed philippe44 closed 7 months ago
Hi @philippe44
Thanks for the info. Currently i am using the commit sha1 reference to get the latest binary for each architecture during the build process in the makefile, f.e.
curl -s -L https://github.com/philippe44/AirConnect/raw/${REPO_REVISION}/bin/airupnp-linux-${ARCH} -o target/airupnp
chmod +x target/airupnp
curl -s -L https://github.com/philippe44/AirConnect/raw/${REPO_REVISION}/bin/aircast-linux-${ARCH} -o target/aircast
chmod +x target/aircast
So I need to change that to download the zip file, extract it, look for any binary file matching the arch and delete everything afterwards. I think i will switch to github actions then.
Any chance to include the binary files in the releases additionally to the zip? So i do not need the download the whole zip.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
@philippe44 I have integrated an automated way that downloads the 'latest' zip file or the zip file specified with a version tag with your versioning. If you keep creating releases and tags with a zip file named 'AirConnect-<version>
.zip' with this semantic versioning (Major.Minor.Patch - 1.7.0) it will automatically grab the release, downloads the zip, extracts all binaries and use the binaries for bulding the packages for all different architectures of synology devices.
I assume you're using the release artefacts, but just in case...