Remove -mod=vendor from all documentation and code

This commit is contained in:
Alexander Neumann committed 2020-03-01 19:32:35 +01:00
1 parent 28121090c2
commit c0373cd307
7 files changed
+12 -18

No files matched your search

-1
View File
@@ -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",
+1 -1
View File
@@ -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)
}