always restore from last tag
This commit is contained in:
parent
34b8325a06
commit
ae64a4d166
|
@ -14,7 +14,7 @@ func restoreFromGoPkg(repo *gitpb.Repo) error {
|
|||
if err != nil {
|
||||
badExit(nil, err)
|
||||
}
|
||||
rver := repo.GetMasterVersion()
|
||||
rver := repo.GetLastTag()
|
||||
if rver == "" {
|
||||
return errors.New("could not get master version")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue