fix(ci): remove windows build from goreleaser (#1736)

This commit is contained in:
Ethan Mosbaugh
2025-02-13 13:55:12 -08:00
committed by GitHub
parent d5a6b19417
commit ae2b5d1311
2 changed files with 40 additions and 3 deletions

View File

@@ -6,7 +6,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
@@ -30,7 +29,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
@@ -54,7 +52,6 @@ builds:
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm

View File

@@ -0,0 +1,40 @@
//go:build windows
// +build windows
package util
import (
"github.com/pkg/errors"
)
func GetDiskInfo(directory string) (*DiskInfo, error) {
return nil, errors.Errorf("cannot get disk info of directory %v", directory)
}
func RemoveHostDirectoryContent(directory string) error {
return errors.Errorf("failed to remove host directory %v", directory)
}
func CopyHostDirectoryContent(src, dest string) error {
return errors.Errorf("failed to copy the content from %v to %v for the host", src, dest)
}
func CreateDiskPathReplicaSubdirectory(path string) error {
return errors.Errorf("error creating data path %v on host", path)
}
func ExpandFileSystem(volumeName string) error {
return errors.Errorf("error expanding filsystem on %v", volumeName)
}
func DetectFileSystem(volumeName string) (string, error) {
return "", errors.Errorf("error detecting filsystem on %v", volumeName)
}
func GetDiskConfig(path string) (*DiskConfig, error) {
return nil, errors.Errorf("error getting disk config from %v", path)
}
func GenerateDiskConfig(path string) (*DiskConfig, error) {
return nil, errors.Errorf("error generating disk config from %v", path)
}