nim-lang / nightlies

Separate repository to trigger installer builds.
MIT License
44 stars 14 forks source link

nightlies: create latest-* aliases for released nightlies [deploy] #40

Closed alaviss closed 4 years ago

alaviss commented 4 years ago

With this commit, the nightlies generated by the workflow will be tagged with latest-<branch name>, and only if the nightly build was successful. This enables users to easily get the latest binaries with a fixed url (do expect 404 when those binaries are being updated though, but that shouldn't last for more than 10s).

Fixes #31.

Draft for now as I'm not a fan of how this is currently triggered, I'll need to add a few more safeguards just to be sure, but you can see it working here: https://github.com/alaviss/nightlies/releases

alaviss commented 4 years ago

Upon further review, I think this is good enough for now.