From dff7c8f20f94f2e4c7609044646e68d32e4bfb09 Mon Sep 17 00:00:00 2001 From: Aditya Garg <85610623+AdityaGarg8@users.noreply.github.com> Date: Sat, 29 Jun 2024 13:41:07 +0530 Subject: [PATCH] Fix more variables --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e28d518..00d9593 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,7 +30,7 @@ jobs: id: tag run: | VER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) - MINTVER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) + MINTVER=$(egrep ^MINT_VERSION build.sh|cut -d= -f2) REL=$(grep "PKGREL=\d*" build.sh | cut -d = -f2) echo Version is $VER echo "kver=${VER}" >> $GITHUB_ENV @@ -94,7 +94,7 @@ jobs: id: tag run: | VER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) - MINTVER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) + MINTVER=$(egrep ^MINT_VERSION build.sh|cut -d= -f2) REL=$(grep "PKGREL=\d*" build.sh | cut -d = -f2) echo Version is $VER echo "kver=${VER}" >> $GITHUB_ENV @@ -154,7 +154,7 @@ jobs: id: tag run: | VER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) - MINTVER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) + MINTVER=$(egrep ^MINT_VERSION build.sh|cut -d= -f2) REL=$(grep "PKGREL=\d*" build.sh | cut -d = -f2) echo Version is $VER echo "kver=${VER}" >> $GITHUB_ENV @@ -201,7 +201,7 @@ jobs: - name: Generate Variables run: | VER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) - MINTVER=$(egrep ^KERNEL_VERSION build.sh|cut -d= -f2) + MINTVER=$(egrep ^MINT_VERSION build.sh|cut -d= -f2) REL=$(grep "PKGREL=\d*" build.sh | cut -d = -f2) echo Version is $VER echo "kver=${VER}" >> $GITHUB_ENV