leafo / gh-actions-lua

GitHub action for Lua/LuaJIT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Luajit is now rolling release

daurnimator opened this issue · comments

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

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

commented

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)

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}"