644df8dcdc
Previous split to a storj.io/private repository broke tag-release.sh script. This is the minimal temporary fix to make things work. This links the build information to specified variables and sets them inline. This approach, of course, is very fragile. Change-Id: I73db2305e6c304146e5a14b13f1d917881a7455c
23 lines
424 B
Go
23 lines
424 B
Go
// Copyright (C) 2019 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
|
|
"storj.io/private/process"
|
|
_ "storj.io/storj/private/version" // This attaches version information during release builds.
|
|
)
|
|
|
|
var (
|
|
rootCmd = &cobra.Command{
|
|
Use: "segment-reaper",
|
|
Short: "A tool for detecting and deleting zombie segments",
|
|
}
|
|
)
|
|
|
|
func main() {
|
|
process.Exec(rootCmd)
|
|
}
|