Build

  • Namespace: SuCoS.NUKE
  • Source File: Build.Compile.cs, Build.Publish.cs, Build.GitLab.cs, Build.Changelog.cs, Build.Test.cs, Build.Version.cs, Build.Container.cs, Build.cs, Build.Solution.cs, Build.Publish.Debian.cs

This is the main build file for the project. This partial is responsible for the build process.

Fields

RuntimeIdentifier (string) = "linux-x64"

PublishDirectory (AbsolutePath)

PublishSelfContained (bool) = true

PublishSingleFile (bool) = true

PublishTrimmed (bool) = true

PublishReadyToRun (bool) = false

GitlabPrivateToken (string)

GitLabProjectId (long) = GitLab?.ProjectId ?? 0

ContainerRegistryImage (string)

ContainerDefaultRid (string) = "linux-x64"

Properties

GitLabUploadPackage

(Target): Uploads the package to the GitLab generic package registry. One for each runtime identifier.

GitLabCreateRelease

(Target): Creates a release in the GitLab repository.

GitLabPushContainer

(Target): Push all images created to the Registry

GitLabPushDebianPackage

(Target): Upload the Debian package

ChangelogFile

(string) { get; set } = "CHANGELOG.md"

TestReport

(Target)

CreateCommit

(Target)

CreateDebianPackage

(Target)