always restore from last tag

This commit is contained in:
Jeff Carr 2024-12-18 20:24:02 -06:00
parent 34b8325a06
commit ae64a4d166
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}