C# Class Google.Apis.Release.Program

The main program for creating a new Google.Apis release.
ファイルを表示 Open project: Gainedge/BetterExplorer

Private Properties

Property Type Description
BuildDefaultRepository bool
BuildSamples void
CanContinue bool
CommitAndTag void
CreateContribNewRelease string
CreateCoreNuGetPackages void
DoStep1 void
DoStep2 void
GetChangelog string
HasIncomingChanges bool
Main void
PrintCreateBranch void
PublishPackagesToNuGet void
Run void
UpdateWiki void

Public Methods

Method Description
Program ( Options options ) : System

Constructs a new program with the given options.

Private Methods

Method Description
BuildDefaultRepository ( ) : bool

Builds the "default" repository projects.

BuildSamples ( ) : void

Builds all projects in the "samples" repository.

CanContinue ( ) : bool

Asks the user if he wants to continue in the process.

CommitAndTag ( ) : void

Commits all changes in all repositories and tags the "default" repository.

CreateContribNewRelease ( ) : string

Creates a new release in the "contrib" repository.

CreateCoreNuGetPackages ( ) : void

Creates the core Google.Apis NuGet packages.

DoStep1 ( ) : void

Creates the core Google.Apis packages.

DoStep2 ( ) : void

Doing Step 2 of the release process which includes the following: Builds samples Creates a release notes Update wiki download page Create a new release in the contrib repository Commits, Tags and Pushes

GetChangelog ( ) : string

Returns the notes list of this release. It contains the change log of all pushes to the "default" repository.

HasIncomingChanges ( IEnumerable repositories ) : bool

Returns true if one of the repositories has incoming changes.

Main ( string args ) : void
PrintCreateBranch ( ) : void

Displays the user orders how to create a branch (only in case it's a new major or minor release.

PublishPackagesToNuGet ( ) : void

Publishes the core packages to NuGet main repository.

Run ( ) : void

The main release logic for creating a new release of Google.Apis.

UpdateWiki ( string notes ) : void

Updates the "Downloads" wiki page with the new release notes.

Method Details

Program() public method

Constructs a new program with the given options.
public Program ( Options options ) : System
options Options
return System