Nerian / bootstrap-datepicker-rails

A Datepicker for Twitter Bootstrap, integrated with Rails assets pipeline
MIT License
649 stars 182 forks source link

Updated the updater #100

Closed bencolon closed 9 years ago

bencolon commented 9 years ago

Hey Nerian,

Just updated the rake task to checkout master OR a tagged version. In my case, I want to update the assets with the latest stable version not with master.

Thoughts ? Ben

bencolon commented 9 years ago

Should be cleaner right now. If the bootstrap-datepicker-src folder exists , checkout master and pull before checkout specified tag or latest tag on master. Otherwise, directly checkout specified tag or latest tag.

task ARGV.last.to_sym {} is to prevent warning about calling a rake task with tag argument name.

Nerian commented 9 years ago

Cool, thanks!

Nerian commented 9 years ago

Version 1.4.0 released :+1: