public BuildSolutionStep(BuildAndRevision buildAndRevision, SolutionSystemInfo solutionSystemInfo, NugetPackageResultCollection nugetPackageResultCollection) { this.buildAndRevision = buildAndRevision; this.solutionSystemInfo = solutionSystemInfo; this.nugetPackageResultCollection = nugetPackageResultCollection; }
public RetrievePreviousVersionsStep( SolutionSystemInfo solutionSystemInfo, IEnumerable<string> packagesId, BuildAndRevision buildAndRevision) { this.solutionSystemInfo = solutionSystemInfo; this.packagesId = packagesId; this.buildAndRevision = buildAndRevision; }
public UpdatePackagesStep( SolutionSystemInfo solutionSystemInfo, BuildAndRevision buildAndRevision, IEnumerable<PackageWithFramework> packages, IReadOnlyDictionary<string, string> previousVersions) { this.solutionSystemInfo = solutionSystemInfo; this.buildAndRevision = buildAndRevision; this.packages = packages; this.previousVersions = previousVersions; }
public void IncrementAssemblyInfo(BuildAndRevision buildAndRevision) { var newVersion = new Version(Version).Increment(buildAndRevision).ToString(); foreach (var frameworkPackage in FrameworkPackages) { frameworkPackage.IncrementAssemblyInfo(newVersion); } Version = newVersion; }
public UpdateNuspecAndAssemblyInfoStep( BuildAndRevision buildAndRevision, SolutionSystemInfo solutionSystemInfo, IEnumerable<string> packagesId, IReadOnlyDictionary<string, string> previousVersions) { this.solutionSystemInfo = solutionSystemInfo; this.buildAndRevision = buildAndRevision; this.packagesId = packagesId; this.previousVersions = previousVersions; }
public CollectPackagesFromSolutionStep( BuildAndRevision buildAndRevision, SolutionSystemInfo solutionSystemInfo, IEnumerable<string> packagesId, IReadOnlyDictionary<string, string> previousVersions) { this.solutionSystemInfo = solutionSystemInfo; this.packagesId = packagesId; this.buildAndRevision = buildAndRevision; this.previousVersions = previousVersions; }
public static Version Increment(int major, int minor, BuildAndRevision buildAndRevision) { return new Version(major, minor, (int)buildAndRevision.Build, (int)buildAndRevision.Revision); }
public static Version Increment(this Version version, BuildAndRevision buildAndRevision) { return Increment(version.Major, version.Minor, buildAndRevision); }