projects
/
platform
/
upstream
/
fontconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the dynamic loading issue on NetBSD
[platform/upstream/fontconfig.git]
/
new-version.sh
diff --git
a/new-version.sh
b/new-version.sh
index
c771aeb
..
36e46f5
100644
(file)
--- a/
new-version.sh
+++ b/
new-version.sh
@@
-1,6
+1,6
@@
#!/bin/sh
#!/bin/sh
-if
git-status -a > /dev/null
; then
+if
[ "x`git status -s -uno`" != "x" ]
; then
echo 'Uncommited changes in repository' 1>&2
exit 1
fi
echo 'Uncommited changes in repository' 1>&2
exit 1
fi
@@
-21,7
+21,7
@@
eval `echo $version |
# Update the version numbers
# Update the version numbers
-sed -i configure.
in -e "/^AM_INIT_AUTOMAKE
/s/2\.[0-9.]*/$version/"
+sed -i configure.
ac -e "/^AC_INIT(
/s/2\.[0-9.]*/$version/"
sed -i fontconfig/fontconfig.h \
-e "/^#define FC_MAJOR/s/[0-9][0-9]*/$major/" \
sed -i fontconfig/fontconfig.h \
-e "/^#define FC_MAJOR/s/[0-9][0-9]*/$major/" \
@@
-71,8
+71,8
@@
if [ $version != $last ]; then
# header
#
(sed '/^2\.[0-9.]*/,$d' README |
# header
#
(sed '/^2\.[0-9.]*/,$d' README |
- sed -e "s/Version.*/Version $version_note/" \
- -e "s/
200.*
/$date/" | awk '
+ sed -
r -
e "s/Version.*/Version $version_note/" \
+ -e "s/
[0-9]{4}\-[0-9]{2}\-[0-9]{2}$
/$date/" | awk '
/^[ \t]/ {
gsub ("^[ \t]*", "");
gsub ("[ \t]*$", "");
/^[ \t]/ {
gsub ("^[ \t]*", "");
gsub ("[ \t]*$", "");
@@
-92,7
+92,7
@@
if [ $version != $last ]; then
echo $version_note
echo
echo $version_note
echo
- git
-log --pretty=short $last.. | git-
shortlog | cat
+ git
log --pretty=short $last.. | git
shortlog | cat
#
# previous changelogs
#
# previous changelogs
@@
-104,15
+104,15
@@
if [ $version != $last ]; then
mv README.tmp README
fi
mv README.tmp README
fi
-$test git
-
commit -m"Bump version to $version" \
- configure.
in
\
+$test git
commit -m"Bump version to $version" \
+ configure.
ac
\
fontconfig/fontconfig.h \
README
# tag the tree
fontconfig/fontconfig.h \
README
# tag the tree
-$test git
-tag -u 096c4dd3
-m "Version $version" $version
+$test git
tag -s
-m "Version $version" $version
# Make distributed change log
# Make distributed change log
-git
-
log --stat $last.. > ChangeLog-$version
+git
log --stat $last.. > ChangeLog-$version