Update package version to 2.03.35
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Gitlab repository
|
||||||
|
REPO="lvmteam/lvm2"
|
||||||
|
|
||||||
|
# Replace slash with URL encoded representation
|
||||||
|
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
|
||||||
|
|
||||||
|
# Get tag name using Gitlab Rest API
|
||||||
|
TAG_NAME=$(curl -s -L https://gitlab.com/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name')
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
# Replace '_' with '.'
|
||||||
|
VERSION=${VERSION//_/.}
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: lvm2
|
name: lvm2
|
||||||
description: Logical Volume Manager 2
|
description: Logical Volume Manager 2
|
||||||
version: 2.03.23
|
version: 2.03.35
|
||||||
revision: 4
|
|
||||||
url: https://sourceware.org/lvm2/
|
url: https://sourceware.org/lvm2/
|
||||||
license: GPL2,LGPL2.1
|
license: GPL2,LGPL2.1
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
Reference in New Issue
Block a user