Leave date the same if no files changed.

This commit is contained in:
redxef 2022-05-06 11:37:50 +02:00
parent dd04de3f8a
commit 2a2a1a3ed9
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

7
check
View file

@ -7,6 +7,12 @@ set -o pipefail
. ./common
version="$(compute_version "$(fetch_file_infos get_files)")"
if [ "$(echo "$version" | jq -r tostring)" = "$(get_version | jq -r .files | jq -r tostring)" ]; then
get_version
cleanup
exit 0
fi
jq -r tostring << EOF
{
"version": {
@ -16,3 +22,4 @@ jq -r tostring << EOF
}
EOF
cleanup
exit 0