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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm geoip2.phar
|
if [ -f geoip2.phar ]; then
|
||||||
|
rm geoip2.phar
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
echo ". is not clean." >&2
|
echo ". is not clean." >&2
|
||||||
|
@ -57,15 +59,15 @@ fi
|
||||||
|
|
||||||
|
|
||||||
cat <<EOF > apigen.neon
|
cat <<EOF > apigen.neon
|
||||||
destination doc/$TAG
|
destination: doc/$TAG
|
||||||
|
|
||||||
source:
|
source:
|
||||||
../src
|
- ../src
|
||||||
|
|
||||||
title: "GeoIP2 PHP API $TAG"
|
title: "GeoIP2 PHP API $TAG"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
php apigen.phar
|
php apigen.phar generate
|
||||||
|
|
||||||
|
|
||||||
PAGE=index.md
|
PAGE=index.md
|
||||||
|
|
Loading…
Reference in New Issue
Block a user