asimov-construct-cli 25.0.0-dev.0

ASIMOV Construct Command-Line Interface (CLI)
1
2
3
4
5
6
7
8
namespace :version do
  desc "Bump the version number"
  task :bump do
    old_version = File.read('VERSION').strip
    new_version = old_version.gsub(/\.\d+$/, &:succ)
    warn `git grep -l #{old_version} | xargs sd -F #{old_version} #{new_version}`.chomp
  end
end