From 4735de6aa4b296f5bac1cad33d0aa3800cbe47ad Mon Sep 17 00:00:00 2001 From: Dimitris Sotirakis Date: Fri, 2 Sep 2022 13:27:20 +0300 Subject: [PATCH] Run gen-version in windows pipelines (#54624) --- .drone.yml | 3 ++- scripts/drone/pipelines/windows.star | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f583acbeb37..35a9eab4eb1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1504,6 +1504,7 @@ steps: - gcloud auth activate-service-account --key-file=gcpkey.json - rm gcpkey.json - cp C:\App\nssm-2.24.zip . + - .\grabpl.exe gen-version --build-id $$env:DRONE_BUILD_NUMBER - .\grabpl.exe windows-installer --edition oss --build-id $$env:DRONE_BUILD_NUMBER - $$fname = ((Get-Childitem grafana*.msi -name) -split "`n")[0] - gsutil cp $$fname gs://grafana-downloads/oss/main/ @@ -5092,6 +5093,6 @@ kind: secret name: packages_secret_access_key --- kind: signature -hmac: 93835e0362c0a924e8da207d3c89296a1d68f3997f86ac4859b356a872bc9f4a +hmac: 54f9d4c1b212da26968eb3c35278ad82bc9d204ca0f6f99eb990df1b9950516b ... diff --git a/scripts/drone/pipelines/windows.star b/scripts/drone/pipelines/windows.star index c0e0f61f7f6..14ff7afc174 100644 --- a/scripts/drone/pipelines/windows.star +++ b/scripts/drone/pipelines/windows.star @@ -55,6 +55,7 @@ def windows(trigger, edition, ver_mode): 'release', ): installer_commands.extend([ + '.\\grabpl.exe gen-version {}'.format(ver_part), '.\\grabpl.exe windows-installer --edition {} {}'.format(edition, ver_part), '$$fname = ((Get-Childitem grafana*.msi -name) -split "`n")[0]', ])