Skip to content

Commit

Permalink
autobuild: upload: add buildmode in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
maxux committed Sep 6, 2024
1 parent 534e69e commit 16f7c61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions autobuild/tf-build-upload.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash
set -e

BUILDMODE="${BUILDMODE:-debug}"

cd staging

kernel=zero-os-${IMAGE_BRANCH}-generic-${GITHUB_SHA:0:10}.efi
linkname=zero-os-${IMAGE_BRANCH}-generic.efi
kernel=zero-os-${IMAGE_BRANCH}-${BUILDMODE}-${GITHUB_SHA:0:10}.efi
linkname=zero-os-${IMAGE_BRANCH}-${BUILDMODE}.efi

echo "[+] kernel: ${kernel}"
echo "[+] branch: ${linkname}"
Expand Down

0 comments on commit 16f7c61

Please sign in to comment.