Skip to content

Commit 7a71f28

Browse files
committed
chore: Add git fetch before git switch
1 parent 721ec46 commit 7a71f28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ end
5353

5454
def switch_rails(version)
5555
cd 'rails' do
56+
sh 'git fetch'
5657
sh 'git reset --hard'
5758
sh "git switch refs/tags/v#{version} -C v#{version}"
5859
end

0 commit comments

Comments
 (0)