X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=blobdiff_plain;f=new-version.sh;h=9ab64dd09f3043c3c326ce39538315016931842c;hp=c771aeb09705d475fcb56cce49468917df5fcf34;hb=HEAD;hpb=0b15b5f38b94ca1eda2b8b25de939776198c017a diff --git a/new-version.sh b/new-version.sh index c771aeb..9ab64dd 100644 --- a/new-version.sh +++ b/new-version.sh @@ -1,6 +1,6 @@ #!/bin/sh -if git-status -a > /dev/null; then +if git status -a > /dev/null; then echo 'Uncommited changes in repository' 1>&2 exit 1 fi @@ -92,7 +92,7 @@ if [ $version != $last ]; then echo $version_note echo - git-log --pretty=short $last.. | git-shortlog | cat + git log --pretty=short $last.. | git shortlog | cat # # previous changelogs @@ -104,15 +104,15 @@ if [ $version != $last ]; then mv README.tmp README fi -$test git-commit -m"Bump version to $version" \ +$test git commit -m"Bump version to $version" \ configure.in \ 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 -git-log --stat $last.. > ChangeLog-$version +git log --stat $last.. > ChangeLog-$version