fix unrelease

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-01 17:24:11 -06:00
parent 418ecdc418
commit b83d92f7b4
1 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ func createUnreleaseBox(box *gui.Node) {
log.Info("skipping whitelist", repo.String())
continue
}
setCurrentRepo(repo, "rewind this?", "not sure")
if repo.lookToUnwind() {
log.Info("found something to unwind:", repo.String())
@ -30,7 +31,7 @@ func createUnreleaseBox(box *gui.Node) {
})
release.unreleaseB = group.NewButton("re-release", func() {
me.Disable()
if release.releaseVersionB.String() != "un-release version "+release.version.String() {
if release.unreleaseB.String() != "un-release version "+release.version.String() {
log.Warn("something went wrong with the release.version:", release.version.String())
return
}