Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Commit ae7e6af

Browse files
committed
fix version setting
1 parent bf9e356 commit ae7e6af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
id: build
2727
run: |
2828
mkdir /tmp/artifacts
29-
VERSION=$(grep "KERNEL_VERSION=\d*\.\d*\.\d*" build.sh | cut -d = -f2)
29+
VERSION=$(grep ^KERNEL_VERSION build.sh | head -n1| cut -d = -f2)
3030
REL=$(grep "PKGREL=\d*" build.sh | cut -d = -f2)
3131
#REL=$( git tag |grep -F $VERSION|sort -r|head -n1|tr -d v)
3232
echo Building $VERSION-$REL

0 commit comments

Comments
 (0)