mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
build: minor publisher fixes.
This commit is contained in:
@@ -337,7 +337,7 @@ jobs:
|
|||||||
command: '/opt/google-cloud-sdk/bin/gsutil cp ./enterprise-dist/* gs://$GCP_BUCKET_NAME/enterprise/master'
|
command: '/opt/google-cloud-sdk/bin/gsutil cp ./enterprise-dist/* gs://$GCP_BUCKET_NAME/enterprise/master'
|
||||||
- run:
|
- run:
|
||||||
name: Deploy to grafana.com
|
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:
|
deploy-enterprise-release:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ func (re releaseFromExternalContent) prepareRelease(baseArchiveUrl, whatsNewUrl
|
|||||||
|
|
||||||
r := release{
|
r := release{
|
||||||
Version: version,
|
Version: version,
|
||||||
ReleaseDate: time.Now(),
|
ReleaseDate: time.Now().UTC(),
|
||||||
Stable: !isBeta,
|
Stable: !isBeta,
|
||||||
Beta: isBeta,
|
Beta: isBeta,
|
||||||
Nightly: false,
|
Nightly: false,
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ func (r releaseLocalSources) prepareRelease(baseArchiveUrl, whatsNewUrl string,
|
|||||||
|
|
||||||
rel := release{
|
rel := release{
|
||||||
Version: buildData.version,
|
Version: buildData.version,
|
||||||
ReleaseDate: time.Now(),
|
ReleaseDate: time.Now().UTC(),
|
||||||
Stable: false,
|
Stable: false,
|
||||||
Beta: false,
|
Beta: false,
|
||||||
Nightly: true,
|
Nightly: true,
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ func TestPreparingReleaseFromLocal(t *testing.T) {
|
|||||||
expectedBuilds := 4
|
expectedBuilds := 4
|
||||||
|
|
||||||
var builder releaseBuilder
|
var builder releaseBuilder
|
||||||
testDataPath := "local_test_data"
|
testDataPath := "testdata"
|
||||||
builder = releaseLocalSources{
|
builder = releaseLocalSources{
|
||||||
path: testDataPath,
|
path: testDataPath,
|
||||||
artifactConfigurations: buildArtifactConfigurations,
|
artifactConfigurations: buildArtifactConfigurations,
|
||||||
|
|||||||
Reference in New Issue
Block a user