зеркало из https://github.com/stride3d/gettextnet.git
Fixed relase script (new repo)
git-svn-id: https://svn.code.sf.net/p/gettextnet/code@50 cfd95cc2-f724-4227-9a96-9a83de4730d4
This commit is contained in:
Родитель
1b45d4f8bc
Коммит
be68769141
|
@ -1,6 +1,7 @@
|
|||
#!bin/sh
|
||||
sh ./build-all.sh
|
||||
|
||||
svn_repo_url=https://svn.code.sf.net/p/gettextnet/code
|
||||
version=1.1
|
||||
product_name=GettextNet
|
||||
release_dir=GettextNet
|
||||
|
@ -11,11 +12,10 @@ mkdir ./$release_dir/Bin
|
|||
mkdir ./$release_dir/Win32
|
||||
cp -r ./Bin/* ./$release_dir/Bin/
|
||||
cp -r ./Win32/* ./$release_dir/Win32/
|
||||
svn checkout -q $svn_repo_url ./$release_dir/
|
||||
|
||||
svn_repo_url=https://genielamp.svn.sourceforge.net/svnroot/gettextnet
|
||||
revision=$(svn info -rHEAD $svn_repo_url | grep Revision: | cut -c11-)
|
||||
echo Last revision is: $revision
|
||||
svn checkout -q $svn_repo_url ./$release_dir/
|
||||
|
||||
rm $product_name*.zip
|
||||
zip -9 -r -q $product_name".v"$version"r"$revision.zip ./$release_dir -x *.svn*
|
||||
|
|
Загрузка…
Ссылка в новой задаче