mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 20:49:49 +02:00
* only use date for snapshot version
This commit is contained in:
parent
eb32168592
commit
80a3e2d02f
@ -16,7 +16,7 @@ DEBVERSION=`echo $PACKAGEVERSION | awk -F '-' '{ print $2 }'`
|
||||
# Snapshot ?
|
||||
if [ "$DEBVERSION" == "0" ]; then
|
||||
OLDPACKAGEVERSION=$PACKAGEVERSION
|
||||
DEBVERSION=`/bin/date --utc +%Y%m%d.%k%M%S`
|
||||
DEBVERSION=`/bin/date --utc +%Y%m%d`
|
||||
PACKAGEVERSION=$FPCVERSION-$DEBVERSION
|
||||
sed s+$OLDPACKAGEVERSION+$PACKAGEVERSION+ $1/changelog > $1/changelog.tmp
|
||||
mv $1/changelog.tmp $1/changelog
|
||||
|
Loading…
Reference in New Issue
Block a user