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 . ./common
version="$(compute_version "$(fetch_file_infos get_files)")" 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 jq -r tostring << EOF
{ {
"version": { "version": {
@ -16,3 +22,4 @@ jq -r tostring << EOF
} }
EOF EOF
cleanup cleanup
exit 0