Re: Building Oolite 4 Linux
Posted: Sat Apr 15, 2023 10:47 am
Yes, that is actually the problem with the current windows builds. And my message is a bit incorrect as I am not talking about the tag with name 'latest' any more. But that is learning on the job...another_commander wrote: ↑Sat Apr 15, 2023 10:17 amLooking at the commit history, I see this:
"I verified prereleases get created for branches but they do not modify the 'latest' tag, which will still point to the latest release."
The problem would most likely come not from the prereleases originating from branches, but from the actual release that would be published once a commit to master gets made. You need to verify that commits to master do not affect the 1.90 release tag.
Last year we hardcoded the release tag to be 'latest' (I'd say we did not know any better).
https://github.com/OoliteProject/oolite ... ws.yml#L44
Therefore, whenever the master branch is modified, that tag is moved to the current commit. Even more, the old release is replaced with the new one and we do not have a history.
With my new model, every release would get a unique identifier to be used both in the title and the release tag.
https://github.com/HiranChaudhuri/oolit ... l.yml#L146
With such distinct release tags Github can build a release history since we no longer move tags and replace releases, as can be seen here:
https://github.com/HiranChaudhuri/oolite/releases
Note that the release 1.91-15 currently has a green indicator 'Latest', but that is not the tag.
https://github.com/HiranChaudhuri/oolit ... ag/1.91-15
So if you want to have a permanent link always pointing to the latest release, Github provides it in means of
Code: Select all
curl https://api.github.com/repos/HiranChaudhuri/oolite/releases/latest