From 516a607a82286b4de014e85f0ccfa098653df44f Mon Sep 17 00:00:00 2001 From: Mads Hartmann Date: Fri, 23 Sep 2022 08:08:49 +0000 Subject: [PATCH] Use __git_commit to avoid rebuilds --- components/gitpod-cli/BUILD.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/components/gitpod-cli/BUILD.yaml b/components/gitpod-cli/BUILD.yaml index cc564114fb46de..c569ce290ffd94 100644 --- a/components/gitpod-cli/BUILD.yaml +++ b/components/gitpod-cli/BUILD.yaml @@ -13,17 +13,13 @@ packages: - components/supervisor-api/go:lib - components/gitpod-protocol/go:lib - components/common-go:lib - argdeps: - - version config: packaging: app prep: - ["cp", "_deps/components-gitpod-cli--version/version.txt", "pkg/gitpod/version.txt"] - name: version type: generic - argdeps: - - version config: commands: - - ["sh", "-c", "echo '${version}' > version.txt"] - - ["echo", "Gitpod-CLI Version: ${version}"] \ No newline at end of file + - ["sh", "-c", "echo '${__git_commit}' > version.txt"] + - ["echo", "Gitpod-CLI Version: ${__git_commit}"]