File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,9 @@ jobs:
268268
269269 # tmp: Update leeway from branch to make testing easier
270270 LEEWAY_BRANCH=clu/sbom-cve-2
271- LEEWAY_REPO_DIR=$(mktemp -d -t leeway-repo-XXXXXXXXXX) && git clone https://github.com/gitpod-io/leeway "$LEEWAY_REPO_DIR" && cd "$LEEWAY_REPO_DIR" && git switch ${LEEWAY_BRANCH} && git pull && go build -o leeway && sudo install -m 755 leeway /usr/bin/ && cd / && rm -rf "$LEEWAY_REPO_DIR"
271+ LEEWAY_REPO_DIR=$(mktemp -d -t leeway-repo-XXXXXXXXXX) && git clone https://github.com/gitpod-io/leeway "$LEEWAY_REPO_DIR" && cd "$LEEWAY_REPO_DIR" && git switch ${LEEWAY_BRANCH} && git pull && go build -ldflags="-X github.com/gitpod-io/leeway/pkg/leeway.Version=0.10.2.sbom" -o leeway && sudo install -m 755 leeway /usr/bin/ && cd / && rm -rf "$LEEWAY_REPO_DIR"
272+
273+ /usr/bin/leeway version
272274
273275 RESULT=0
274276 set -x
You can’t perform that action at this time.
0 commit comments