Skip to content

Commit

Permalink
Update Kamal::Git#version now uses git describe
Browse files Browse the repository at this point in the history
  • Loading branch information
hey-leon committed Oct 6, 2023
1 parent 83a2d52 commit 2741695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kamal/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def user_name
end

def revision
`git rev-parse HEAD`.strip
`git describe --always`.strip
end

def uncommitted_changes
Expand Down

0 comments on commit 2741695

Please sign in to comment.