Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
luarocks upload - Upload a rockspec to the public rocks repository.
luarocks upload [--skip-pack] [--api-key=<key>] [--force] <rockspec>
Packs a source rock file (
.src.rock) using a rockspec and uploads it
and the rockspec to the public rocks repository.
To access the server, an API key is required. It is passed using
option and can be issued at the LuaRocks site on
the "Setting" page after logging in.
--skip-pack is passed, the source rock is not packed and only the rockspec
--force is passed, existing files will be overwritten if the same version
of the package already exists.
luarocks upload my-rock-0.1.0-1.rockspec --api-key=<REDACTED>