Skip to content

Commit

Permalink
fix files name (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
markus621 committed Feb 22, 2022
1 parent cdf93fe commit 6712a96
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/commands/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ func GenerateRelease() console.CommandGetter {
}

inReleaseInfo, err := inReleaseModel.Encode()
console.FatalIfErr(err, "encode InRelease")
err = os.WriteFile(path+PathDistStable+"InRelease", inReleaseInfo, 0755)
console.FatalIfErr(err, "write inRelease")
console.FatalIfErr(err, "encode Release")
err = os.WriteFile(path+PathDistStable+"Release", inReleaseInfo, 0755)
console.FatalIfErr(err, "write Release")

in := bytes.NewBuffer(inReleaseInfo)
out := &bytes.Buffer{}
console.FatalIfErr(pgpStore.Sign(in, out), "sign inRelease")
err = os.WriteFile(path+PathDistStable+"Release", out.Bytes(), 0755)
console.FatalIfErr(err, "write inRelease")
console.FatalIfErr(pgpStore.Sign(in, out), "sign Release")
err = os.WriteFile(path+PathDistStable+"InRelease", out.Bytes(), 0755)
console.FatalIfErr(err, "write InRelease")

/**
Copy Release.gpg
Expand Down

0 comments on commit 6712a96

Please sign in to comment.