Update package version to 0.28
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Gitlab repository
|
||||||
|
REPO="xdg/desktop-file-utils"
|
||||||
|
|
||||||
|
# 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.freedesktop.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[0].name')
|
||||||
|
|
||||||
|
# Get version number from tag name
|
||||||
|
VERSION=$(echo "$TAG_NAME" | cut -d'-' -f2)
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
name: desktop-file-utils
|
name: desktop-file-utils
|
||||||
description: CLI utilities for working with desktop entries
|
description: CLI utilities for working with desktop entries
|
||||||
version: 0.27
|
version: 0.28
|
||||||
url: https://www.freedesktop.org/wiki/Software/desktop-file-utils/
|
url: https://www.freedesktop.org/wiki/Software/desktop-file-utils/
|
||||||
license: GPL
|
license: GPL
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
Reference in New Issue
Block a user