Update package version to 34.2
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Git repository
|
||||||
|
REPO="https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git"
|
||||||
|
|
||||||
|
# Get tag name using 'git ls-remote'
|
||||||
|
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3)
|
||||||
|
|
||||||
|
# Get version number from tag name
|
||||||
|
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
||||||
|
|
||||||
|
# Trim 'v' character in VERSION variable
|
||||||
|
VERSION=$(echo "$VERSION" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
name: kmod
|
name: kmod
|
||||||
description: Linux kernel module handling tools
|
description: Linux kernel module handling tools
|
||||||
version: 31
|
version: 34.2
|
||||||
revision: 3
|
|
||||||
url: https://github.com/kmod-project/kmod
|
url: https://github.com/kmod-project/kmod
|
||||||
license: LGPL2.1,GPL2
|
license: LGPL2.1,GPL2
|
||||||
architecture: any
|
architecture: any
|
||||||
depends: ["glibc","openssl","xz-utils","zlib","zstd"]
|
depends: ["glibc","openssl","xz-utils","zlib","zstd"]
|
||||||
|
make_depends: ["scdoc"]
|
||||||
type: source
|
type: source
|
||||||
|
|||||||
Reference in New Issue
Block a user