Merge branch 'master' into gettext
This commit is contained in:
@@ -93,6 +93,7 @@ fi
|
|||||||
LC_ALL=C date -u > RELEASE-DATE-${version}
|
LC_ALL=C date -u > RELEASE-DATE-${version}
|
||||||
|
|
||||||
# Building Documentation.txt
|
# Building Documentation.txt
|
||||||
|
echo "* Generating Documentation.txt"
|
||||||
LC_ALL=C w3m -dump Documentation.html > Documentation.txt
|
LC_ALL=C w3m -dump Documentation.html > Documentation.txt
|
||||||
|
|
||||||
# Check for gettext support
|
# Check for gettext support
|
||||||
@@ -131,28 +132,28 @@ for kit in $KITS ; do
|
|||||||
for comp in $COMPRESSIONS ; do
|
for comp in $COMPRESSIONS ; do
|
||||||
case $comp in
|
case $comp in
|
||||||
tbz|tgz)
|
tbz|tgz)
|
||||||
echo "Creating $name.tar"
|
echo "* Creating $name.tar"
|
||||||
tar cf $name.tar $name
|
tar cf $name.tar $name
|
||||||
if [ $comp = tbz ] ; then
|
if [ $comp = tbz ] ; then
|
||||||
echo "Creating $name.tar.bz2"
|
echo "* Creating $name.tar.bz2"
|
||||||
bzip2 -9k $name.tar
|
bzip2 -9k $name.tar
|
||||||
fi
|
fi
|
||||||
if [ $comp = tgz ] ; then
|
if [ $comp = tgz ] ; then
|
||||||
echo "Creating $name.tar.gz"
|
echo "* Creating $name.tar.gz"
|
||||||
gzip -9c $name.tar > $name.tar.gz
|
gzip -9c $name.tar > $name.tar.gz
|
||||||
fi
|
fi
|
||||||
rm $name.tar
|
rm $name.tar
|
||||||
;;
|
;;
|
||||||
zip)
|
zip)
|
||||||
echo "Creating $name.zip"
|
echo "* Creating $name.zip"
|
||||||
zip -q -9 -r $name.zip $name
|
zip -q -9 -r $name.zip $name
|
||||||
;;
|
;;
|
||||||
zip-7z)
|
zip-7z)
|
||||||
echo "Creating $name.zip"
|
echo "* Creating $name.zip"
|
||||||
7za a -bd -tzip $name.zip $name > /dev/null
|
7za a -bd -tzip $name.zip $name > /dev/null
|
||||||
;;
|
;;
|
||||||
7z)
|
7z)
|
||||||
echo "Creating $name.7z"
|
echo "* Creating $name.7z"
|
||||||
7za a -bd $name.7z $name > /dev/null
|
7za a -bd $name.7z $name > /dev/null
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@@ -190,6 +191,14 @@ if [ $# -gt 0 ] ; then
|
|||||||
tagname=RELEASE_`echo $version | tr . _ | tr '[:lower:]' '[:upper:]' | tr -d -`
|
tagname=RELEASE_`echo $version | tr . _ | tr '[:lower:]' '[:upper:]' | tr -d -`
|
||||||
echo "* Tagging release as $tagname"
|
echo "* Tagging release as $tagname"
|
||||||
git tag -a -m "Released $version" $tagname $branch
|
git tag -a -m "Released $version" $tagname $branch
|
||||||
|
if echo $version | grep '[a-z_-]' ; then
|
||||||
|
echo "* Tagging release as TESTING"
|
||||||
|
git tag -a -f -m "Released $version" TESTING $branch
|
||||||
|
else
|
||||||
|
echo "* Tagging release as STABLE"
|
||||||
|
git tag -a -f -m "Released $version" STABLE $branch
|
||||||
|
fi
|
||||||
|
echo " Dont forget to push tags using: git push --tags"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown parameter: $1!"
|
echo "Unknown parameter: $1!"
|
||||||
|
Reference in New Issue
Block a user