mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 12:10:14 +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 ?
|
# Snapshot ?
|
||||||
if [ "$DEBVERSION" == "0" ]; then
|
if [ "$DEBVERSION" == "0" ]; then
|
||||||
OLDPACKAGEVERSION=$PACKAGEVERSION
|
OLDPACKAGEVERSION=$PACKAGEVERSION
|
||||||
DEBVERSION=`/bin/date --utc +%Y%m%d.%k%M%S`
|
DEBVERSION=`/bin/date --utc +%Y%m%d`
|
||||||
PACKAGEVERSION=$FPCVERSION-$DEBVERSION
|
PACKAGEVERSION=$FPCVERSION-$DEBVERSION
|
||||||
sed s+$OLDPACKAGEVERSION+$PACKAGEVERSION+ $1/changelog > $1/changelog.tmp
|
sed s+$OLDPACKAGEVERSION+$PACKAGEVERSION+ $1/changelog > $1/changelog.tmp
|
||||||
mv $1/changelog.tmp $1/changelog
|
mv $1/changelog.tmp $1/changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user