mirror of
https://github.com/restic/restic.git
synced 2026-10-06 02:40:31 +00:00
Remove -mod=vendor from all documentation and code
This commit is contained in:
@@ -96,7 +96,6 @@ func build(sourceDir, outputDir, goos, goarch string) (filename string) {
|
||||
outputFile := filepath.Join(outputDir, filename)
|
||||
|
||||
c := exec.Command("go", "build",
|
||||
"-mod=vendor",
|
||||
"-o", outputFile,
|
||||
"-ldflags", "-s -w",
|
||||
"-tags", "selfupdate",
|
||||
|
||||
@@ -345,7 +345,7 @@ func runBuild(sourceDir, outputDir, version string) {
|
||||
"--volume", sourceDir+":/restic",
|
||||
"--volume", outputDir+":/output",
|
||||
"restic/builder",
|
||||
"go", "run", "-mod=vendor", "helpers/build-release-binaries/main.go",
|
||||
"go", "run", "helpers/build-release-binaries/main.go",
|
||||
"--version", version)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user