Update package version to 1.9.17p1
This commit is contained in:
+2
-5
@@ -9,10 +9,7 @@ TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-
|
||||
# Get version number from tag name
|
||||
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
|
||||
|
||||
# Trim 'SUDO_' character in VERSION variable
|
||||
VERSION=$(echo "$VERSION" | sed 's/SUDO_//g')
|
||||
|
||||
# Replace underscores with dots in VERSION variable
|
||||
VERSION=$(echo "$VERSION" | tr '_' '.')
|
||||
# Trim 'v' character in VERSION variable
|
||||
VERSION=$(echo "$VERSION" | tr -d 'v')
|
||||
|
||||
echo "$VERSION"
|
||||
|
||||
Reference in New Issue
Block a user