Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.66 KB

github.md

File metadata and controls

59 lines (41 loc) · 2.66 KB

These tasks upload standalone packages to GitHub releases. They're enabled by calling pkg.addGithubTasks(), which automatically calls pkg.addStandaloneTasks().

pkg-github-release

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.

pkg-github-$os

Depends on: pkg-standalone-$os-ia32, pkg-standalone-$os-x64

Uses configuration: pkg.version, pkg.githubRepo, pkg.githubUser, pkg.githubPassword, pkg.githubBearerToken, pkg.standaloneName

Uploads 32- and 64-bit executable packages for the given operating system (linux, windows, or macos) 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 64-bit 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.

pkg-github-all

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.