remove what GitHub Action auto-updater will handle
parent
c574ac8d5e
commit
ca13d22069
|
@ -18,7 +18,6 @@ package main
|
|||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os/exec"
|
||||
"time"
|
||||
|
||||
|
@ -55,12 +54,6 @@ func main() {
|
|||
|
||||
update.Apply(generateSchema(), data)
|
||||
|
||||
packageName := fmt.Sprintf("github.com/google/go-github/%s", major)
|
||||
|
||||
if err := exec.Command("go", "get", packageName).Run(); err != nil {
|
||||
klog.Fatalf("failed to run go get: %v", err)
|
||||
}
|
||||
|
||||
if err := exec.Command("go", "mod", "tidy").Run(); err != nil {
|
||||
klog.Fatalf("failed to run go mod tidy: %v", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue