File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.5.3
4+
5+ Fix ASDF update when git data is not up-to-date.
6+
37## 1.5.2
48
59Make ASDF version really usable with ` asdf_version ` variable.
Original file line number Diff line number Diff line change 22
33module Capistrano
44 module Asdf
5- VERSION = "1.5.2 "
5+ VERSION = "1.5.3 "
66 end
77end
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ namespace :asdf do
2929 if fetch ( :asdf_version ) == version
3030 info "ASDF #{ fetch ( :asdf_version ) } is already installed on #{ fetch ( :asdf_path ) } "
3131 else
32+ execute :git , "fetch" , "origin"
3233 execute :git , "checkout" , "v#{ fetch ( :asdf_version ) } "
3334 info "ASDF is updated from #{ version } to #{ fetch ( :asdf_version ) } (on #{ fetch ( :asdf_path ) } )"
3435 end
You can’t perform that action at this time.
0 commit comments