From 003273e0a5e43dd6c3211ecf4966b1de46e7da89 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 17 May 2010 20:16:36 -0300 Subject: [PATCH] Include release tarball in CI build --- script/ci-build | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/script/ci-build b/script/ci-build index af2844d..1e1c5be 100755 --- a/script/ci-build +++ b/script/ci-build @@ -1,3 +1,14 @@ #!/bin/sh -cp config/database.yml.sqlite3 config/database.yml && /usr/bin/rake db:schema:load && /usr/bin/rake +set -e + +build() { + cp config/database.yml.sqlite3 config/database.yml && /usr/bin/rake db:schema:load && /usr/bin/rake +} + +# build the code in the VCS +build + +# build the release tarball as well +version=$(ruby -Ilib -rnoosfero -e 'puts Noosfero::VERSION') +rm -rf pkg/ && rake -f Rakefile.pkg && cd pkg/noosfero-${version}/ && build -- libgit2 0.21.2