From 46266d8a3922ae3e1b365d7e0c4dc992c92b412d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Thu, 16 Jan 2020 09:32:13 +0900 Subject: [PATCH] pkg: debian: Use commit SHA since they don't always tag releases. --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f7952a85..b3d81ef91 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,17 +83,20 @@ jobs: - name: Build env: - PACKAGE_VERSION: 5.4.8-1 + KERNEL_VERSION: 5.4.12 + # sid:5.4.12 + COMMIT: 003b2879ed30cb75647fd54153acc8e03838cdf9 run: | cd pkg/debian - export KERNEL_VERSION=${PACKAGE_VERSION%-*} export FLAVOR=amd64_none_amd64 export LOCALVERSION="-surface" # download sources wget https://cdn.kernel.org/pub/linux/kernel/v${KERNEL_VERSION%%.*}.x/linux-$KERNEL_VERSION.tar.xz - git clone -b "debian/$PACKAGE_VERSION" --depth 1 --single-branch https://salsa.debian.org/kernel-team/linux.git + wget https://salsa.debian.org/kernel-team/linux/-/archive/$COMMIT/linux-$COMMIT.tar + tar xf linux-$COMMIT.tar + mv linux-$COMMIT linux cd linux