26 lines
408 B
Bash
26 lines
408 B
Bash
#!/bin/bash
|
|
# Copyright 2023 - 2025, 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}"
|