minor goimport changes
This commit is contained in:
parent
0c8311467b
commit
c8aded7394
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
||||||
VERSION = $(shell git describe --tags)
|
VERSION = $(shell git describe --tags)
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
./guireleaser
|
./guireleaser --help
|
||||||
|
|
||||||
single: build
|
single: build
|
||||||
./guireleaser go.wit.com/apps/go-clone --increment --release --reason "testing guireleaser" --dry-run
|
./guireleaser go.wit.com/apps/go-clone --increment --release --reason "testing guireleaser" --dry-run
|
||||||
|
|
4
argv.go
4
argv.go
|
@ -10,7 +10,7 @@ type args struct {
|
||||||
Repo string `arg:"positional" help:"go import path"`
|
Repo string `arg:"positional" help:"go import path"`
|
||||||
Increment bool `arg:"--increment" help:"auto increment"`
|
Increment bool `arg:"--increment" help:"auto increment"`
|
||||||
Release bool `arg:"--release" help:"do a release an exit"`
|
Release bool `arg:"--release" help:"do a release an exit"`
|
||||||
DryRun bool `arg:"--dry-run" help:"don't actually do the release"`
|
DryRun bool `arg:"--dry-run,env:DRYRUN" help:"don't actually do the release"`
|
||||||
Reason string `arg:"--reason" help:"tag message"`
|
Reason string `arg:"--reason" help:"tag message"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,5 +24,5 @@ the repositories in the go.sum file using git clone`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (args) Version() string {
|
func (args) Version() string {
|
||||||
return "go-clone " + VERSION
|
return "guireleaser " + VERSION
|
||||||
}
|
}
|
||||||
|
|
3
main.go
3
main.go
|
@ -4,7 +4,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/alexflint/go-arg"
|
"go.wit.com/dev/alexflint/arg"
|
||||||
"go.wit.com/gui"
|
"go.wit.com/gui"
|
||||||
"go.wit.com/lib/gui/repolist"
|
"go.wit.com/lib/gui/repolist"
|
||||||
"go.wit.com/lib/gui/shell"
|
"go.wit.com/lib/gui/shell"
|
||||||
|
@ -143,7 +143,6 @@ func main() {
|
||||||
// rescan all the repos
|
// rescan all the repos
|
||||||
me.repos.View.ScanRepositories()
|
me.repos.View.ScanRepositories()
|
||||||
|
|
||||||
|
|
||||||
myrepo.Status.MakeRedomod()
|
myrepo.Status.MakeRedomod()
|
||||||
myrepo.Status.IncrementRevisionVersion(tmp)
|
myrepo.Status.IncrementRevisionVersion(tmp)
|
||||||
_, err := me.repos.View.CheckValidGoSum(myrepo)
|
_, err := me.repos.View.CheckValidGoSum(myrepo)
|
||||||
|
|
Loading…
Reference in New Issue