.gitlab-ci.yml: get the device name from the deviceinfo file
This commit is contained in:
@@ -16,7 +16,8 @@ flashable:
|
||||
script:
|
||||
- apt update
|
||||
- apt install -y img2simg jq sudo wget xz-utils
|
||||
- ./build/fetch-and-prepare-latest-ota.sh "16.04/arm64/android9/devel" "beryllium" ota
|
||||
- DEVICE="$(source deviceinfo && echo $deviceinfo_codename)"
|
||||
- ./build/fetch-and-prepare-latest-ota.sh "16.04/arm64/android9/devel" "$DEVICE" ota
|
||||
- mkdir -p out
|
||||
- ./build/system-image-from-ota.sh ota/ubuntu_command out
|
||||
artifacts:
|
||||
@@ -30,7 +31,8 @@ devel-flashable:
|
||||
script:
|
||||
- apt update
|
||||
- apt install -y img2simg jq sudo wget xz-utils
|
||||
- ./build/prepare-fake-ota.sh out/device_beryllium.tar.xz ota
|
||||
- DEVICE="$(source deviceinfo && echo $deviceinfo_codename)"
|
||||
- ./build/prepare-fake-ota.sh out/device_$DEVICE.tar.xz ota
|
||||
- mkdir -p out
|
||||
- ./build/system-image-from-ota.sh ota/ubuntu_command out
|
||||
artifacts:
|
||||
|
||||
Reference in New Issue
Block a user