Sha256: 8de29ebb182b5657807fca4b0f106e05293006b517f5a5052abd7877acf92163
Contents?: true
Size: 537 Bytes
Versions: 6
Compression:
Stored size: 537 Bytes
Contents
#!/bin/sh LIB_NAME="snipp" if [ $# -ne 1 ] then echo "invalid VERSION" exit 1 fi GEMSPEC="${LIB_NAME}.gemspec" PKG_FILE="${LIB_NAME}-$1.gem" echo "[RUN] gem install" bundle install echo "[RUN] rake" bundle exec rake if [ $? -eq 1 ] then exit 1 fi echo "[RUN] gem build ${GEMSPEC}" gem build ${GEMSPEC} if [ $? -eq 1 ] then exit 1 fi echo "[RUN] mv ${PKG_FILE} pkg/" mv ${PKG_FILE} ./pkg echo "[RUN] gem push pkg/${PKG_FILE}" gem push pkg/${PKG_FILE} echo "[RUN] git tag -a version-$1" git tag -a version-$1 -m "" git push --tags
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
snipp-0.0.6 | deploy_gem.sh |
snipp-0.0.5 | deploy_gem.sh |
snipp-0.0.4 | deploy_gem.sh |
snipp-0.0.3 | deploy_gem.sh |
snipp-0.0.2 | deploy_gem.sh |
snipp-0.0.1 | deploy_gem.sh |