releaser/shuttletask/ci.go

21 lines
252 B
Go
Raw Normal View History

2023-04-08 12:34:57 +02:00
package main
import (
"context"
"log"
2023-04-08 12:42:57 +02:00
"os"
2023-04-08 12:41:16 +02:00
"os/exec"
2023-04-08 12:34:57 +02:00
)
func Ci(ctx context.Context) error {
log.Println("CI")
2023-04-08 12:42:57 +02:00
cmd := exec.Command("shuttle", "--skip-pull", "run", "build")
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
return cmd.Run()
2023-04-08 12:34:57 +02:00
}