tag as 1.4.0-an

This commit is contained in:
Ailin Nemui 2022-05-29 20:46:17 +02:00
commit 612fdb9c2d
4 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"