This commit is contained in:
Alec Leamas 2010-10-24 13:19:00 +02:00
parent 06215365b4
commit 6502e28fbf

View file

@ -226,14 +226,13 @@ set -x
echo "Creating bundle $bundle_name" echo "Creating bundle $bundle_name"
cd dist cd dist
rm -rf $bundle_name rm -rf $bundle_name
rm -rf diaspora
git clone --quiet $GIT_REPO
cd diaspora cd diaspora
if [ "$BUNDLE_FIX" = 'yes' ]; then if [ "$BUNDLE_FIX" = 'yes' ]; then
rm -f Gemfile.lock rm -f Gemfile.lock
rm -rf .bundle rm -rf .bundle
bundle update bundle update
fi fi
bundle install --deployment
bundle package bundle package
package_git_gems "$PWD/Gemfile.lock" "$PWD/vendor/cache" package_git_gems "$PWD/Gemfile.lock" "$PWD/vendor/cache"
cp -ar AUTHORS Gemfile Gemfile.lock GNU-AGPL-3.0 COPYRIGHT \ cp -ar AUTHORS Gemfile Gemfile.lock GNU-AGPL-3.0 COPYRIGHT \