Commit 272c43f7 by Leonard Gram

build: minor publisher fixes.

parent 82b84c59
......@@ -337,7 +337,7 @@ jobs:
command: '/opt/google-cloud-sdk/bin/gsutil cp ./enterprise-dist/* gs://$GCP_BUCKET_NAME/enterprise/master'
- run:
name: Deploy to grafana.com
command: 'cd enterprise-dist && scripts/build/release_publisher/release_publisher -apikey ${GRAFANA_COM_API_KEY} -enterprise -from-local'
command: 'cd enterprise-dist && ../scripts/build/release_publisher/release_publisher -apikey ${GRAFANA_COM_API_KEY} -enterprise -from-local'
deploy-enterprise-release:
......
......@@ -29,7 +29,7 @@ func (re releaseFromExternalContent) prepareRelease(baseArchiveUrl, whatsNewUrl
r := release{
Version: version,
ReleaseDate: time.Now(),
ReleaseDate: time.Now().UTC(),
Stable: !isBeta,
Beta: isBeta,
Nightly: false,
......
......@@ -22,7 +22,7 @@ func (r releaseLocalSources) prepareRelease(baseArchiveUrl, whatsNewUrl string,
rel := release{
Version: buildData.version,
ReleaseDate: time.Now(),
ReleaseDate: time.Now().UTC(),
Stable: false,
Beta: false,
Nightly: true,
......
......@@ -58,7 +58,7 @@ func TestPreparingReleaseFromLocal(t *testing.T) {
expectedBuilds := 4
var builder releaseBuilder
testDataPath := "local_test_data"
testDataPath := "testdata"
builder = releaseLocalSources{
path: testDataPath,
artifactConfigurations: buildArtifactConfigurations,
......
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