Skip to content

Commit

Permalink
Deprecates sha256 and source_sha256
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestEckhardt committed Sep 14, 2022
1 parent 7f7eaad commit de1bc36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions postal/buildpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ type Dependency struct {
PURL string `toml:"purl"`

// SHA256 is the hex-encoded SHA256 checksum of the built dependency.
//
// Deprecated: use Checksum instead.
SHA256 string `toml:"sha256"`

// Source is the uri location of the source-code representation of the dependency.
Expand All @@ -53,6 +55,8 @@ type Dependency struct {

// SourceSHA256 is the hex-encoded SHA256 checksum of the source-code
// representation of the dependency.
//
// Deprecated: use SourceChecksum instead.
SourceSHA256 string `toml:"source_sha256"`

// Stacks is a list of stacks for which the dependency is built.
Expand Down

0 comments on commit de1bc36

Please sign in to comment.