diff --git a/.ci-make.sh b/.ci-make.sh index a35bf15..d8a0bd8 100755 --- a/.ci-make.sh +++ b/.ci-make.sh @@ -47,7 +47,7 @@ case "$1" in CI_RELEASE_ASSETS=$(curl $CI_VERIFY_API/api/v1/repos/$CI_VERIFY_REPO/releases/tags/$CI_COMMIT_TAG | jq -c '.assets[]' | grep linux-amd64) CI_RELEASE_BINARY_URL=$(echo "$CI_RELEASE_ASSETS" | grep linux-amd64\" | jq -r --jsonargs .browser_download_url) CI_RELEASE_SHA256=$(curl $(echo "$CI_RELEASE_ASSETS" | grep linux-amd64.sha256\" | jq -r --jsonargs .browser_download_url) | cut -d ' ' -f1) - wget --content-disposition $CI_RELEASE_BINARY_URL + wget -nv --content-disposition $CI_RELEASE_BINARY_URL DOWNLOAD_SHA256=$(sha256sum forgejo-*-linux-amd64 | cut -d ' ' -f1) if [ $CI_RELEASE_SHA256 != $DOWNLOAD_SHA256 ] ; then echo "ERROR: Downloaded file didn't match expected SHA256 sum" @@ -112,7 +112,7 @@ case "$1" in HOME=$FORGEJO_HOME GITEA_WORK_DIR=$FORGEJO_HOME \ forgejo web --config /etc/forgejo/app.ini & sleep 10 - curl http://localhost:3000/ + curl http://localhost:3000/ | grep -A 4 "Powered by Forgejo" exit $? ;; "install-repo-test")