Skip to content

Commit

Permalink
fix: lua_interpreter -> variables.LUA
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed May 24, 2024
1 parent 0b7b24f commit 9f80ab8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/luarocks-tag-release.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ local function luarocks_tag_release(package_name, package_version, specrev, args
OS.execute('luarocks --tree . init' .. luarocks_extra_flags_and_args, print)
print('Done.')
print('Configuring luarocks to use interpreter ' .. interpreter .. '...')
OS.execute('luarocks config --scope project lua_interpreter ' .. interpreter .. luarocks_extra_flags_and_args)
OS.execute('luarocks config --local lua_interpreter ' .. interpreter .. luarocks_extra_flags_and_args)
OS.execute('luarocks config --scope project variables.LUA ' .. interpreter .. luarocks_extra_flags_and_args)
print('Done.')
print('Running tests...')
OS.execute('luarocks test' .. luarocks_extra_flags_and_args, error, true)
Expand Down

0 comments on commit 9f80ab8

Please sign in to comment.