build: minor refactor.

This commit is contained in:
Leonard Gram 2018-11-19 14:12:04 +01:00
parent 8f0d3ff7ea
commit ac55aeff95

View File

@ -95,7 +95,7 @@ func (t buildArtifact) getUrl(baseArchiveUrl, version string, releaseType Releas
prefix = "_"
}
if releaseType == STABLE && t.os == "rhel" {
if releaseType.stable() && t.os == "rhel" {
rhelReleaseExtra = "-1"
}