Skip to content

Commit

Permalink
Outputs the version after it is persisted
Browse files Browse the repository at this point in the history
  • Loading branch information
mscottford committed Sep 5, 2023
1 parent 0a1f4ae commit d9746ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@ namespace :version do
task :persist do
write_version
end

task :show do
puts "Current version #{Corgibytes::Freshli::Commons::VERSION}"
end
end

# Ensure that the grpc files are generated before the build runs
Rake::Task['build'].enhance(['grpc', 'version:bump:patch', 'version:persist'])
Rake::Task['build'].enhance(['grpc', 'version:bump:patch', 'version:persist', 'version:show'])

task default: %i[grpc spec rubocop]

Expand Down

0 comments on commit d9746ec

Please sign in to comment.