Update URL and download

This commit is contained in:
2025-09-05 14:42:23 +03:00
parent e0b9f5f8bf
commit cdf9abe771
3 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
# Gitea repository # Github repository
REPO="bubble-package-manager/bpm-utils" REPO="EnumeratedDev/bpm-utils"
# Get version from tag name using Gitea Rest API # Get tag name using Github Rest API
VERSION=$(curl -s -L https://git.enumerated.dev/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name) TAG_NAME=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/tags | jq -r '.[0].name')
echo "$VERSION" echo "$TAG_NAME"
+2 -2
View File
@@ -1,8 +1,8 @@
name: bpm-utils name: bpm-utils
description: Package utilities for the Bubble Package Manager description: Package utilities for the Bubble Package Manager
version: 6.0.0 version: 6.0.0
revision: 2 revision: 3
url: https://gitlab.com/bubble-package-manager/bpm-utils url: https://github.com/EnumeratedDev/bpm-utils
license: MIT license: MIT
architecture: any architecture: any
keep: ["etc/bpm-utils/"] keep: ["etc/bpm-utils/"]
+1 -1
View File
@@ -2,7 +2,7 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
REPO="https://gitlab.com/bubble-package-manager/bpm-utils.git" REPO="https://github.com/EnumeratedDev/bpm-utils.git"
FILENAME="${DOWNLOAD##*/}" FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory # The prepare function is executed in the root of the temp directory