Skip to content

Commit

Permalink
Use release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored May 9, 2024
1 parent 167e151 commit c75c576
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ci/build-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ echo "Requires.private: libcares libnghttp2 libidn2 libssl openssl libcrypto lib
# in a Docker container, we can safely disable this check
git config --global --add safe.directory '*'
bash -euxo pipefail /source/ci/install-static-desktop-file-validate.sh
bash -euxo pipefail /source/ci/install-static-desktop-file-validate.sh 0.27
bash -euxo pipefail /source/ci/install-static-mksquashfs.sh 4.6.1
bash -euxo pipefail /source/ci/install-static-zsyncmake.sh 4.5.1
bash -euxo pipefail /source/ci/install-static-zsyncmake.sh 0.6.2
bash -euxo pipefail /source/ci/build.sh
Expand Down
12 changes: 6 additions & 6 deletions ci/install-static-desktop-file-validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

set -euxo pipefail

# if [[ "${1:-}" == "" ]]; then
# echo "Usage: $0 <version>"
# exit 2
# fi
if [[ "${1:-}" == "" ]]; then
echo "Usage: $0 <version>"
exit 2
fi

# version="$1"
version="$1"

build_dir="$(mktemp -d -t desktop-file-utils-build-XXXXXX)"

Expand All @@ -21,7 +21,7 @@ trap cleanup EXIT
pushd "$build_dir"

apk add glib-static glib-dev autoconf automake
wget -c https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/archive/56d220dd679c7c3a8f995a41a27a7d6f3df49dea/desktop-file-utils-56d220dd679c7c3a8f995a41a27a7d6f3df49dea.tar.gz
wget -c "https://gitlab.freedesktop.org/xdg/desktop-file-utils/-/archive/"$version"/desktop-file-utils-"$version".tar.gz"
tar xf desktop-file-utils-*.tar.gz
cd desktop-file-utils-*/
# The next 2 lines are a workaround for: checking build system type... ./config.guess: unable to guess system type
Expand Down

0 comments on commit c75c576

Please sign in to comment.