summaryrefslogtreecommitdiff
path: root/goConfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'goConfig.go')
-rw-r--r--goConfig.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/goConfig.go b/goConfig.go
index 310aed6..e1c1cd1 100644
--- a/goConfig.go
+++ b/goConfig.go
@@ -119,7 +119,7 @@ func (rs *RepoStatus) parseGoSum() (bool, error) {
return true, nil
}
-func (rs *RepoStatus) GoConfig() map[string]string {
+func (rs *RepoStatus) GoConfig() map[string]string {
return rs.goConfig
}
@@ -157,3 +157,10 @@ func (rs *RepoStatus) MakeRedomod() (bool, error) {
// return the attempt to parse go.mod & go.sum
return rs.parseGoSum()
}
+
+func (rs *RepoStatus) IsReleased() bool {
+ if rs.GetTargetVersion() == rs.GetCurrentVersion() {
+ return true
+ }
+ return false
+}