* oops. meant to make fpm optional but messed up the check for $PACKAGE
This commit is contained in:
parent
2e4b9d1e46
commit
68d346496b
|
|
@ -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
2
build
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue