Fix a couple minor release script issues
This commit is contained in:
parent
8ef95cb4d1
commit
64f2262093
|
@ -9,7 +9,9 @@ if [ -z $TAG ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ -f geoip2.phar ]; then
|
||||
rm geoip2.phar
|
||||
fi
|
||||
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
echo ". is not clean." >&2
|
||||
|
@ -57,15 +59,15 @@ fi
|
|||
|
||||
|
||||
cat <<EOF > apigen.neon
|
||||
destination doc/$TAG
|
||||
destination: doc/$TAG
|
||||
|
||||
source:
|
||||
../src
|
||||
- ../src
|
||||
|
||||
title: "GeoIP2 PHP API $TAG"
|
||||
EOF
|
||||
|
||||
php apigen.phar
|
||||
php apigen.phar generate
|
||||
|
||||
|
||||
PAGE=index.md
|
||||
|
|
Loading…
Reference in New Issue
Block a user