shipit.rubygems.yml 331 B

123456789101112131415
  1. dependencies:
  2. override:
  3. - bundle install --path=./data/bundler
  4. deploy:
  5. override:
  6. - |
  7. BUILD=`bundle exec rake build`
  8. if [ $? != 0 ]; then
  9. echo $BUILD;
  10. exit 1;
  11. fi
  12. PKG=`echo $BUILD | cut -d" " -f5 | sed -e s/\.$//`;
  13. VERSION=`echo $BUILD | cut -d" " -f2`;
  14. gem push $PKG