cagebreak/test/non-auto-tests
project-repo bea18c7a6f Release 2.1.1
- Adjust dependency versions
- Add release tests
- Add a quick installation script
- Add small utility scripts
- Add note on review and developer certificate of origin (DCO)
- Add note on accessibility
2023-04-17 22:17:06 +02:00

25 lines
401 B
Bash

#!/bin/bash
# Copyright 2023, project-repo and the cagebreak contributors
# SPDX-License-Identifier: MIT
VERSION=$1
RESULT=0
# shellcheck disable=2164
cd "${MESONCURRENTCONFIGDIR}/release-non-auto-checks"
filevar="$VERSION
$(date +%Y-%m-%d)"
for check in ./*
do
if [[ $(cat "$check") = "${filevar}" ]]
then
echo "[x] ${check}"
else
RESULT=1
echo "[ ] ${check}"
fi
done
exit "${RESULT}"