C# Class BuildRelease.Program

Release Builder. Will automatically check out all repositories, run unit tests and create a release. Can be re-run if the build should fail.
Mostra file Open project: artzub/LoggenCSG

Public Methods

Method Description
ExtractTagVersionAndName ( string tag ) : string

Extracts the version and name part out of the specified tag.

RunUnitTest ( string assembly ) : void

Runs the unit tester on the specified assembly.

Called from extern assemblies.

Private Methods

Method Description
BuildContribRelease ( string tag, string changelog, IEnumerable baseLibrary, IEnumerable allProjects, Google.Build.Utils.Build.Project serviceGenerator, string &zipDir ) : string

Builds the Releases in the Contrib repository. Depends on: - Compiled BaseLibrary - Updated Sample repository - Existing release tag name

BuildProjects ( FileVersionInfo &apiVersion, Google.Build.Utils.Build.Project &allProjects ) : Google.Build.Utils.Build.Project[]
CheckoutRepositories ( ) : void
CommitAndTagRelease ( string tag ) : void
CreateChangelog ( string tag ) : string
GetTagName ( FileVersionInfo releaseVersion ) : string
Main ( string args ) : void
PushChanges ( ) : void
UpdateSamples ( IEnumerable releaseProjects, Google.Build.Utils.Build.Project serviceGenerator ) : void
UpdateWiki ( string releaseNotes, string zipDir ) : void

Method Details

ExtractTagVersionAndName() public static method

Extracts the version and name part out of the specified tag.
public static ExtractTagVersionAndName ( string tag ) : string
tag string date-version-name
return string

RunUnitTest() public static method

Runs the unit tester on the specified assembly.
Called from extern assemblies.
public static RunUnitTest ( string assembly ) : void
assembly string
return void