Remove -mod=vendor from all documentation and code

This commit is contained in:
Alexander Neumann
2020-03-01 19:32:35 +01:00
parent 28121090c2
commit c0373cd307
7 changed files with 12 additions and 18 deletions
-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)
}