Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Commit

Permalink
Version for the program and push on release
Browse files Browse the repository at this point in the history
  • Loading branch information
gaqzi committed Sep 15, 2012
1 parent db3a77a commit b3ffdf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -9,6 +9,7 @@ end
desc "Release the gem into the wild"
task :release => :build do
system "git tag v#{SVT::Recorder::VERSION}"
system 'git push origin'
system 'git push origin --tags'
system "gem push svt-recorder-#{SVT::Recorder::VERSION}.gem"
end
Expand Down
1 change: 1 addition & 0 deletions bin/svt-recorder
Expand Up @@ -19,6 +19,7 @@ if ARGV.empty? or ARGV[0].match(/\A(-h)|((--)?help)\Z/i)
puts "\tAll parts of the video at SVT Play URL will be recorded."
puts "\tIf you've supplied an output name that will be used, otherwise you'll be asked."
puts ''
puts "Library version: #{SVT::Recorder::VERSION}"
exit 0
elsif not ARGV[0].match(/(svtplay|svt\.se)/)
puts "No valid SVT Play or Play Rapport URL supplied"
Expand Down

0 comments on commit b3ffdf3

Please sign in to comment.