leafo / gh-actions-lua

GitHub action for Lua/LuaJIT
85 stars 27 forks source link

Luajit is now rolling release #32

Open daurnimator opened 1 year ago

daurnimator commented 1 year ago

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

alerque commented 1 year ago

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

leafo commented 1 year ago

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)

dargueta commented 6 months ago

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