Skip to main content

ReleaseEntry Class

⚠️ Warning: This release format has been replaced by VelopackRelease

Namespace: Velopack
Assembly: Velopack
Assembly Version: 0.0.942+a011233

Represents a Velopack release, as described in a RELEASES file - usually also with an accompanying package containing the files needed to apply the release.

[DataContract]
[Obsolete("This release format has been replaced by VelopackRelease")]
public class ReleaseEntry

Inheritance: object → ReleaseEntry

Attributes: DataContractAttribute,ObsoleteAttribute

Properties

NameDescription
BaseUrlIf the release corresponds to a remote http location, this will be the base url.
EntryAsStringThe unparsed text used to construct this release.
FilesizeThe size in bytes of the update package containing this release.
IdentityThe release identity - including id, version and so forth.
IsDeltaWhether this package represents a full update, or a delta update.
OriginalFilenameThe filename of the update package containing this release.
PackageIdThe name or Id of the package containing this release.
QueryThe http url query (if applicable).
SHA1The SHA1 checksum of the update package containing this release.
StagingPercentageThe percentage of users this package has been released to. This release may or may not be applied if the current user is not in the staging group.
VersionThe version of this release.

Methods

NameDescription
BuildReleasesFile(string, bool)Generates a list of ReleaseEntry's from a local directory containing package files. Also writes/updates a RELEASES file in the specified directory to match the packages the are currently present.
FromVelopackAsset(VelopackAsset)
GenerateFromFile(Stream, string, string)Generates a ReleaseEntry from a local update package file (such as a nupkg).
GenerateFromFile(string, string)Generates a ReleaseEntry from a local update package file (such as a nupkg).
GetHashCode()
IsStagingMatch(Guid?)Checks if the current user is eligible for the current staging percentage.
ParseReleaseEntry(string)Parses an string entry from a RELEASES file and returns a ReleaseEntry.
ParseReleaseFile(string)Parse the contents of a RELEASES file into a list of ReleaseEntry's.
ParseReleaseFileAndApplyStaging(string, Guid?)Parse the contents of a RELEASES file into a list of ReleaseEntry's, with any staging-ineligible releases removed.
ToString()
WriteReleaseFile(IEnumerable<ReleaseEntry>, Stream)Write a list of ReleaseEntry's to a stream
WriteReleaseFile(IEnumerable<ReleaseEntry>, string)Write a list of ReleaseEntry's to a local file

Documentation generated by MdDocs