* oops. meant to make fpm optional but messed up the check for $PACKAGE

This commit is contained in:
Seth Call 2013-01-26 19:23:26 -06:00
parent 2e4b9d1e46
commit 68d346496b
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ GEM
logging (1.7.2)
little-plugger (>= 1.1.3)
pg (0.14.0)
pg (0.14.0-x86-mingw32)
pg_migrate (0.1.6)
logging (= 1.7.2)
pg (= 0.14.0)

2
build
View File

@ -27,7 +27,7 @@ bundle exec pg_migrate build --source . --out $PG_BUILD_OUT --test --verbose
echo "packaging migrations for ruby"bundle exec pg_migrate package --source $PG_BUILD_OUT --out $PG_RUBY_PACKAGE_OUT --name jam-db --version "$VERSION"
bundle exec pg_migrate package --source $PG_BUILD_OUT --out $PG_RUBY_PACKAGE_OUT --name $PROJECT_NAME --version $VERSION
if [ ! -z "PACKAGE" ]; then
if [ ! -z "$PACKAGE" ]; then
bundle install --path target/vendor/bundle
pushd target
fpm -s gem -t deb ruby_package/jam_db-$VERSION.gem