Sha256: 4d94f7af03aa1776c20db82593fadf0f4746c0b4ba200d92ca6a1de069d027f7
Contents?: true
Size: 496 Bytes
Versions: 4
Compression:
Stored size: 496 Bytes
Contents
#!/usr/bin/env ruby # bin/publish 0.0.1 class Publish def start version system "bundle && bundle exec rake spec" system "gem build csv2hash.gemspec" system "git tag -a v#{version} -m 'version #{version}'" system "git push --tags" system "gem push csv2hash-#{version}.gem" system "git push origin master" end end if ARGV.length != 1 # or !ARGV[0].match(/\d{1,3}.\d{1,3}.\d{1,3}/) puts 'HELP: ' puts '$ bin/publish 0.0.1' exit 0 end Publish.new.start ARGV[0]
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
csv2hash-0.2.1 | bin/publish |
csv2hash-0.2.0 | bin/publish |
csv2hash-0.1.1 | bin/publish |
csv2hash-0.1 | bin/publish |