Merge tag '1.4.0-an' into integrate/1.4.0-an

This commit is contained in:
Ailin Nemui 2022-05-31 12:34:27 +02:00
commit c33d0c2384
3 changed files with 23 additions and 3 deletions

View file

@ -14,7 +14,7 @@ if test -z "$VERSION_DATE"; then
;;
esac
VERSION_TIME=$(echo "$DATE" | cut -f 1 -d ' ' | tr -d v | tr .- ' ')
VERSION_TIME=$(printf %d%d%02d $VERSION_TIME 2>/dev/null)
VERSION_TIME=$(printf %d%d%02d $VERSION_TIME 2>/dev/null | cut -c 1-4)
fi
echo "#define IRSSI_VERSION_DATE $VERSION_DATE"