Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 42e7fdd

Browse files
committed
fixed build script
1 parent 4b519af commit 42e7fdd

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

bin/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010
DIR=`php -r "echo realpath(dirname(\\$_SERVER['argv'][0]));"`
1111
cd $DIR
12-
VERSION=`cat VERSION`
12+
VERSION=`grep 'VERSION' vendor/symfony/src/Symfony/Component/HttpKernel/Kernel.php | sed -E "s/.*'(.+)'.*/\1/g"`
1313

1414
if [ ! -d "$DIR/build" ]; then
1515
mkdir -p $DIR/build
1616
fi
1717

18-
$DIR/bin/build_bootstrap.php
18+
$DIR/bin/build_bootstrap
1919
$DIR/app/console assets:install web/
2020

2121
# Without vendors
@@ -27,7 +27,6 @@ cp -r src /tmp/Symfony/
2727
cp -r web /tmp/Symfony/
2828
cp -r README.rst /tmp/Symfony/
2929
cp -r LICENSE /tmp/Symfony/
30-
cp -r VERSION /tmp/Symfony/
3130
cd /tmp/Symfony
3231
sudo rm -rf app/cache/* app/logs/* .git*
3332
chmod 777 app/cache app/logs

deps.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
symfony a30c06a384becf9a1e8ab8efb3a9b51e1769754b
1+
symfony c62724b3c3df1887432568b50a04a27870e5e802
22
twig a12aec38c3e57814543ffd049101c2f54dd3e257
33
monolog ff6d7fce5cbe52fa98d143199a3d58b2372b36de
44
doctrine-common 0ba250a785178d7cdb579ce82151731c04849abf
@@ -11,4 +11,4 @@ metadata aa04872c6f0e2b32128b62dd075e8cf97a8d93da
1111
SensioFrameworkExtraBundle d529f700916be3beccfb93cf356bca018db9ba95
1212
JMSSecurityExtraBundle 5676f8ddbc512713e101cb123baf5cd500edefbb
1313
WebConfiguratorBundle 301419e7900bfaac2f029af868e31075b147abcf
14-
AsseticBundle 6d597c4abeb513198f153a0a695612fcfd688972
14+
AsseticBundle 6d597c4abeb513198f153a0a695612fcfd688972

0 commit comments

Comments
 (0)