diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-25 09:11:18 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-25 09:11:18 -0800 |
commit | 69b3f0f1627744926f53d13714ba62f0e83333c8 (patch) | |
tree | a88ae6ef1925f7b129c8cac7467863305c855505 /GNUmakefile | |
parent | 4d8304bf0aa5665e8f8474dfb96019297fa0c2b9 (diff) | |
download | rainbows-69b3f0f1627744926f53d13714ba62f0e83333c8.tar.gz |
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 5628c24..5092ba8 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -# use GNU Make to run tests in parallel, and without depending on Rubygems +# use GNU Make to run tests in parallel, and without depending on RubyGems all:: RUBY = ruby rake = rake @@ -150,10 +150,14 @@ $(pkgtgz): manifest fix-perms package: $(pkgtgz) $(pkggem) release: verify package $(release_notes) $(release_changes) + # make tgz release on RubyForge rubyforge add_release -f -n $(release_notes) -a $(release_changes) \ $(rfproject) $(rfpackage) $(VERSION) $(pkggem) - rubyforge add_file \ - $(rfproject) $(rfpackage) $(VERSION) $(pkgtgz) + # push gem to Gemcutter + gem push $(pkggem) + # in case of gem downloads from RubyForge releases page + -rubyforge add_file \ + $(rfproject) $(rfpackage) $(VERSION) $(pkggem) else gem install-gem: GIT-VERSION-FILE $(MAKE) $@ VERSION=$(GIT_VERSION) |