Created
June 4, 2010 09:15
-
-
Save defunkt/425186 to your computer and use it in GitHub Desktop.
Builds and publishes a RubyGem.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
# Usage: gem-publish resque.gemspec | |
# Builds and publishes a RubyGem. | |
GEM=`gem build $1 2> /dev/null | grep File: | sed -e 's/File://'` | |
gem push $GEM | |
rm $GEM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment