Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas committed Sep 26, 2024
1 parent 5ca8ac0 commit 2e12aae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/aarch64-Linux/pkgs/librewolf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
OWD="$(realpath .)" && export OWD="${OWD}"
export APP="librewolf"
export PKG_NAME="${APP}.AppImage"
RELEASE_TAG="$( curl -qfsSL "https://gitlab.com/api/v4/projects/24386000/releases/" | jq -r '.[0].tag_name' | tr -d '[:space:]')" && export RELEASE_TAG="${RELEASE_TAG}"
RELEASE_TAG="$(curl -qfsSL "https://gitlab.com/api/v4/projects/24386000/releases/" | jq -r '.[0].tag_name' | tr -d '[:space:]')" && export RELEASE_TAG="${RELEASE_TAG}"
curl -qfsSL "https://gitlab.com/api/v4/projects/24386000/releases/${RELEASE_TAG}" | jq --arg ARCH "$(uname -m)" \
-r '.assets | (.sources[]?.url, .links[]?.url) | select(. | contains($ARCH) and endswith(".AppImage"))' | tr -d '[:space:]'|\
xargs -I "{}" curl -qfsSL "{}" -o "${OWD}/${PKG_NAME}"
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/x86_64-Linux/pkgs/librewolf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ "$SKIP_BUILD" == "NO" ]; then
OWD="$(realpath .)" && export OWD="${OWD}"
export APP="librewolf"
export PKG_NAME="${APP}.AppImage"
RELEASE_TAG="$( curl -qfsSL "https://gitlab.com/api/v4/projects/24386000/releases/" | jq -r '.[0].tag_name' | tr -d '[:space:]')" && export RELEASE_TAG="${RELEASE_TAG}"
RELEASE_TAG="$(curl -qfsSL "https://gitlab.com/api/v4/projects/24386000/releases/" | jq -r '.[0].tag_name' | tr -d '[:space:]')" && export RELEASE_TAG="${RELEASE_TAG}"
curl -qfsSL "https://gitlab.com/api/v4/projects/24386000/releases/${RELEASE_TAG}" | jq --arg ARCH "$(uname -m)" \
-r '.assets | (.sources[]?.url, .links[]?.url) | select(. | contains($ARCH) and endswith(".AppImage"))' | tr -d '[:space:]'|\
xargs -I "{}" curl -qfsSL "{}" -o "${OWD}/${PKG_NAME}"
Expand Down

0 comments on commit 2e12aae

Please sign in to comment.