ln.build/ln.build/repositories/Repository.cs

26 lines
675 B
C#

using System;
using ln.build.semver;
using ln.http;
namespace ln.build.repositories
{
public abstract class Repository
{
public abstract void CloneSources(CIJob job);
public abstract void UpdateBuildState(CIJob job);
public abstract Release[] GetReleases();
public abstract Release GetRelease(string tagName);
public abstract Release GetRelease(int id);
public abstract Release CreateRelease(SemVersion releaseVersion, string body, string target_reference);
public abstract void CommitAndPush(string message, string[] addedPaths, string[] modifiedPaths, string[] removedPaths);
}
}