These tasks upload standalone packages to GitHub releases. They're enabled
by calling pkg.addGithubTasks()
, which automatically calls
pkg.addStandaloneTasks()
.
Uses configuration: pkg.humanName
, pkg.version
,
pkg.githubRepo
, pkg.githubUser
, pkg.githubPassword
,
pkg.githubBearerToken
, pkg.githubReleaseNotes
Creates a GitHub release for the current version of this package, without any files uploaded to it.
Depends on: pkg-standalone-$os-$arch
Uses configuration: pkg.version
, pkg.githubRepo
,
pkg.githubUser
, pkg.githubPassword
, pkg.githubBearerToken
,
pkg.standaloneName
Uploads executable packages for the given operating system (linux
, windows
,
or macos
) and architecture (ia32
, x64
, or arm64
) to the GitHub release
for the current version.
Any OS's packages can be built and uploaded regardless of the OS running the task, but if the host OS matches the target OS the executable will be built as a native executable, which is substantially faster.
This must be invoked after pkg-github-release
, but it doesn't have a
built-in dependency so that different OSs' packages can be built in different
build steps.
Depends on: pkg-github-$os-ia32
, pkg-github-$os-x64
, pkg-github-$os-arm64
A utility task for uploading packages for all architectures supported by a single operating system in the same step.
Depends on: pkg-github-release
, pkg-github-linux
, pkg-github-macos
,
pkg-github-windows
A utility task for creating a release and uploading packages for all operating systems in the same step.
Uses configuration: pkg.githubRepo
, pkg.githubUser
,
pkg.githubPassword
, pkg.githubBearerToken
Updates all .tar.gz
archives for this repository's GitHub releases (whether or
not they were generated by cli_pkg
) to remove write permissions for
non-owners. See https://sass-lang.com/blog/security-alert-tar-permissions for
details.