Skip to content

Commit

Permalink
Fetch tags before checkout in build task
Browse files Browse the repository at this point in the history
  • Loading branch information
nmburgan committed Feb 11, 2025
1 parent 5164ff0 commit fdf1df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace :vox do
task :build, [:tag] do |_, args|
begin
abort 'You must provide a tag.' if args[:tag].nil? || args[:tag].empty?
run_command("git checkout #{args[:tag]}")
run_command("git fetch --tags && git checkout #{args[:tag]}")

# If the Dockerfile has changed since this was last built,
# delete all containers and do `docker rmi ezbake-builder`
Expand Down

0 comments on commit fdf1df1

Please sign in to comment.