.github: Bump KV_MAIN to 5.15

This commit is contained in:
Krzesimir Nowak 2021-11-30 13:06:17 +01:00
parent 822b9d2caf
commit e271cc2e08

View File

@ -14,7 +14,7 @@ jobs:
- name: Fetch latest Kernel release - name: Fetch latest Kernel release
id: fetch-latest-release id: fetch-latest-release
env: env:
KV_MAIN: "5.10" KV_MAIN: "5.15"
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
versionMain=$(git -C linux ls-remote --tags origin | cut -f2 | sed -n "/refs\/tags\/v${KV_MAIN}\.[0-9]*$/s/^refs\/tags\/v//p" | sort -ruV | head -1) versionMain=$(git -C linux ls-remote --tags origin | cut -f2 | sed -n "/refs\/tags\/v${KV_MAIN}\.[0-9]*$/s/^refs\/tags\/v//p" | sort -ruV | head -1)