lux-cli-help-upload(1)
πΈ NAME πΈ
lux-cli-help-upload β bestie, this is the one that generates a Lua rockspec for a Lux project and uploads it to the public luarocks repository. β¨
You can specify a source template for release and dev packages in the lux.toml. π«Ά
Example:
[source]
url = "https://host.com/owner/$(PACKAGE)/refs/tags/$(REF).zip"
dev = "git+https://host.com/owner/$(PACKAGE).git"
You can use the following variables in the source template:
$(PACKAGE): The package name.$(VERSION): The package version.$(REF): The git tag or revision (if in a git repository).- You may also specify environment variables with
$(<VAR_NAME>).
If the version is not set in the lux.toml, lux will search the current commit for SemVer tags and if found, will use it to generate the package version. π
β¨ SYNOPSIS β¨
lux-cli help upload
π DESCRIPTION π
Okay so literally, generating a Lua rockspec for a Lux project and uploading it to the public luarocks repository is the whole gig. π
You can specify a source template for release and dev packages in the lux.toml β that's where the magic lives, no cap.
Example:
[source]
url = "https://host.com/owner/$(PACKAGE)/refs/tags/$(REF).zip"
dev = "git+https://host.com/owner/$(PACKAGE).git"
You can use the following variables in the source template:
$(PACKAGE): The package name. π$(VERSION): The package version. πΈ$(REF): The git tag or revision (if in a git repository). π¦- You may also specify environment variables with
$(<VAR_NAME>). π₯
Heads up bestie: if theversionis not set in thelux.toml, lux will search the current commit for SemVer tags and if found, will use it to generate the package version. That's the fallback, iykyk. π
That's the whole page, fr fr β the footer's just vibing down there with upload on one side and lux-cli-help-upload(1) on the other, hanging out under the General Commands Manual banner (and ngl the date slot is literally empty, so we're not gonna pretend otherwise π«Ά). Mwah, go ship something iconic. π
β¨π
π¦ where this page comes from
- nixpkgs unstable: lux-cli 0.48.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms