Commit ac55aeff by Leonard Gram

build: minor refactor.

parent 8f0d3ff7
...@@ -95,7 +95,7 @@ func (t buildArtifact) getUrl(baseArchiveUrl, version string, releaseType Releas ...@@ -95,7 +95,7 @@ func (t buildArtifact) getUrl(baseArchiveUrl, version string, releaseType Releas
prefix = "_" prefix = "_"
} }
if releaseType == STABLE && t.os == "rhel" { if releaseType.stable() && t.os == "rhel" {
rhelReleaseExtra = "-1" rhelReleaseExtra = "-1"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment