File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,9 @@ jobs:
268
268
269
269
# tmp: Update leeway from branch to make testing easier
270
270
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
272
274
273
275
RESULT=0
274
276
set -x
You can’t perform that action at this time.
0 commit comments