gh-actions-lua icon indicating copy to clipboard operation
gh-actions-lua copied to clipboard

Luajit is now rolling release

Open daurnimator opened this issue 2 years ago • 3 comments

I expect this action will need updating for LuaJIT's new versioning scheme.

daurnimator avatar Aug 22 '23 14:08 daurnimator

You mean to tell us the canonical version scheme is no longer beta3+N? What is the world even coming to...

alerque avatar Aug 22 '23 15:08 alerque

the luajit-openresty target already pulls from git to build and install, so we would need to add a similar method for the luajit repo (assuming that the rolling releases are coming from the master/main branch of the luajit repo)

leafo avatar Aug 22 '23 19:08 leafo

Looks like we'll need to explicitly check out the appropriate branch. From the docs:

The old git master branch is phased out and stays pinned to the v2.0 branch. Please follow the versioned branches instead.

There's a way to get a specific release:

Instead of manual increments for each release, the build process uses the POSIX time stamp of the latest commit as the release number of the semantic version. [. . .] If you only have a version number and need to know the related commit, then fill in the parts of the version number in this command:

git show "v$major.$minor@{$timestamp}"

dargueta avatar May 14 '24 05:05 dargueta