mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 21:33:12 +00:00
Update config.h location on scripts/ folder
This commit is contained in:
parent
72a4fbd7e1
commit
28cb389ac8
@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
dir="`pwd`"
|
||||
version=$(cat ../config.h | grep VERSION | sed -e 's/.*\"\(.*\)\"/\1/g')
|
||||
version=$(cat ../src/config.h | grep VERSION | sed -e 's/.*\"\(.*\)\"/\1/g')
|
||||
distdir=aseprite-$version
|
||||
zip="zip -9"
|
||||
zip_recursive_flag="-r"
|
||||
|
@ -19,8 +19,8 @@ while [ $commas -lt 3 ] ; do
|
||||
commas=$(grep -o "," <<< "$version_win32" | wc -l)
|
||||
done
|
||||
|
||||
sed -e "s/define VERSION.*/define VERSION \"$version\"/" < ../config.h > tmp
|
||||
mv tmp ../config.h
|
||||
sed -e "s/define VERSION.*/define VERSION \"$version\"/" < ../src/config.h > tmp
|
||||
mv tmp ../src/config.h
|
||||
|
||||
sed -e "s/gui version=\".*/gui version=\"$version\">/" < ../data/gui.xml > tmp
|
||||
mv tmp ../data/gui.xml
|
||||
|
@ -5,7 +5,7 @@ if [ ! -f upload_packages.sh ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
version=$(cat ../config.h | grep VERSION | sed -e 's/.*\"\(.*\)\"/\1/g')
|
||||
version=$(cat ../src/config.h | grep VERSION | sed -e 's/.*\"\(.*\)\"/\1/g')
|
||||
python=c:/Python27/python.exe
|
||||
|
||||
echo "Uploading $version..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user