Commit 82c98a5f by Leonard Gram

build: packages linked to dl.grafana.com.

parent 1949c8eb
...@@ -41,12 +41,12 @@ func main() { ...@@ -41,12 +41,12 @@ func main() {
var builder releaseBuilder var builder releaseBuilder
var product string var product string
archiveProviderRoot := "https://s3-us-west-2.amazonaws.com" archiveProviderRoot := "https://dl.grafana.com"
buildArtifacts := completeBuildArtifactConfigurations buildArtifacts := completeBuildArtifactConfigurations
if enterprise { if enterprise {
product = "grafana-enterprise" product = "grafana-enterprise"
baseUrl = createBaseUrl(archiveProviderRoot, "grafana-enterprise-releases", product, nightly) baseUrl = createBaseUrl(archiveProviderRoot, "enterprise", product, nightly)
var err error var err error
buildArtifacts, err = filterBuildArtifacts([]artifactFilter{ buildArtifacts, err = filterBuildArtifacts([]artifactFilter{
{os: "deb", arch: "amd64"}, {os: "deb", arch: "amd64"},
...@@ -61,7 +61,7 @@ func main() { ...@@ -61,7 +61,7 @@ func main() {
} else { } else {
product = "grafana" product = "grafana"
baseUrl = createBaseUrl(archiveProviderRoot, "grafana-releases", product, nightly) baseUrl = createBaseUrl(archiveProviderRoot, "oss", product, nightly)
} }
if fromLocal { if fromLocal {
......
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