.github/workflows: Update the kernel release edge version to 5.7

Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
This commit is contained in:
Sayan Chowdhury 2020-06-22 22:00:06 +05:30 committed by Kai Lüke
parent faf94bbe20
commit 39b5c5d2e0

View File

@ -13,7 +13,7 @@ jobs:
- name: Fetch latest Kernel release - name: Fetch latest Kernel release
id: fetch-latest-release id: fetch-latest-release
env: env:
KV_EDGE: 5.6 KV_EDGE: 5.7
run: | run: |
git clone --depth=1 --no-checkout https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux git clone --depth=1 --no-checkout https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux
versionEdge=$(git -C linux ls-remote --tags origin | cut -f2 | sed -n "/refs\/tags\/v${KV_EDGE}.[0-9]*$/s/^refs\/tags\/v//p" | sort -ruV | head -1) versionEdge=$(git -C linux ls-remote --tags origin | cut -f2 | sed -n "/refs\/tags\/v${KV_EDGE}.[0-9]*$/s/^refs\/tags\/v//p" | sort -ruV | head -1)