build: minor publisher fixes.

pull/13970/head
Leonard Gram 7 years ago
parent 82b84c5906
commit 272c43f7b7
  1. 2
      .circleci/config.yml
  2. 2
      scripts/build/release_publisher/externalrelease.go
  3. 2
      scripts/build/release_publisher/localrelease.go
  4. 2
      scripts/build/release_publisher/publisher_test.go
  5. 0
      scripts/build/release_publisher/testdata/grafana-enterprise-5.4.0-123pre1.linux-amd64.tar.gz
  6. 0
      scripts/build/release_publisher/testdata/grafana-enterprise-5.4.0-123pre1.linux-amd64.tar.gz.sha256
  7. 0
      scripts/build/release_publisher/testdata/grafana-enterprise-5.4.0-123pre1.windows-amd64.zip
  8. 0
      scripts/build/release_publisher/testdata/grafana-enterprise-5.4.0-123pre1.windows-amd64.zip.sha256
  9. 0
      scripts/build/release_publisher/testdata/grafana-enterprise-5.4.0-123pre1.x86_64.rpm
  10. 0
      scripts/build/release_publisher/testdata/grafana-enterprise-5.4.0-123pre1.x86_64.rpm.sha256
  11. 0
      scripts/build/release_publisher/testdata/grafana-enterprise_5.4.0-123pre1_amd64.deb
  12. 0
      scripts/build/release_publisher/testdata/grafana-enterprise_5.4.0-123pre1_amd64.deb.sha256

@ -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,

Loading…
Cancel
Save