Update package version to 7.4
This commit is contained in:
+5
-5
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Gitea repository
|
||||
REPO="EnumDev/stormfetch"
|
||||
# Github repository
|
||||
REPO="EnumeratedDev/stormfetch"
|
||||
|
||||
# Get version from tag name using Gitea Rest API
|
||||
VERSION=$(curl -s -L https://git.enumerated.dev/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name)
|
||||
# Get tag name using Github Rest API
|
||||
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||
|
||||
echo "$VERSION"
|
||||
echo "$TAG_NAME"
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
name: stormfetch
|
||||
description: A simple linux fetch program written in go and bash
|
||||
version: "7.3"
|
||||
version: "7.4"
|
||||
revision: 1
|
||||
url: https://github.com/EnumeratedDev/stormfetch
|
||||
license: MIT
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
keep:
|
||||
@@ -24,4 +26,4 @@ downloads:
|
||||
- url: https://github.com/EnumeratedDev/stormfetch/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: f3a25f2383e5ff488ddc905bf153b6390ee50d9f2842d2de8f50f1bceef1be01
|
||||
checksum: 32466846ec7ccad26460eed5823780a25c677a40eddd94e55c72e1c01f77703f
|
||||
|
||||
Reference in New Issue
Block a user