expose the computed autoincrement value
This commit is contained in:
parent
1b65474a69
commit
5268267408
6
merge.go
6
merge.go
|
@ -186,6 +186,12 @@ func (rs *RepoStatus) setTag() bool {
|
|||
rs.newversion.SetLabel(newver)
|
||||
return true
|
||||
}
|
||||
// the newversion field goes through some sanity checking
|
||||
// to make sure it's greater than the existing tag and
|
||||
// valid according to golang -- it must be format 'v1.2.3'
|
||||
func (rs *RepoStatus) GetNewVersionTag() string {
|
||||
return rs.newversion.String()
|
||||
}
|
||||
|
||||
func (rs *RepoStatus) incrementRevision() {
|
||||
lasttag := rs.lasttag.String()
|
||||
|
|
Loading…
Reference in New Issue