CI: Generate Grafana version (and metadata) when the build binary is built (#54393)

* Add GenerateVersions as BeforeFunc

* Delete gen-version

* Fix lint

* Get build id from env var
This commit is contained in:
Dimitris Sotirakis
2022-09-01 15:43:40 +03:00
committed by GitHub
parent 4ec03bad64
commit 7e2238cf6f
13 changed files with 128 additions and 194 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
func main() {
app := cli.NewApp()
app.Before = GenerateVersions
app.Commands = cli.Commands{
{
Name: "build-backend",