We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10090bb commit 06b4844Copy full SHA for 06b4844
script/release.go
@@ -182,6 +182,7 @@ func zipDirectory(zipPath, dirPath string) error {
182
return fmt.Errorf("failed to create ZIP header: %v", err)
183
}
184
185
+ header.Method = zip.Deflate
186
header.Name = filepath.Join(filepath.Base(dirPath), relPath)
187
zipEntry, err := zipWriter.CreateHeader(header)
188
if err != nil {
@@ -221,7 +222,7 @@ func appendChecksum(checksumFilePath, filePath string) error {
221
222
223
relPath, err := filepath.Rel(filepath.Dir(checksumFilePath), filePath)
224
- return fmt.Errorf("failed to get relative path: %v", err)
225
+ return fmt.Errorf("failed to get relative path: %v", err)
226
227
checksumLine := fmt.Sprintf("%s %s\n", hash, relPath)
228
0 commit comments