Skip to content

Commit

Permalink
check-release: update to 8-character commit abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor committed Apr 23, 2017
1 parent 0e22223 commit 95dbacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devel/check-release.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Try running `git fetch origin --tags` in the DFHack source tree.
]]
end

expected_git_desc = ('%s-0-g%s'):format(dfhack_ver, git_commit:sub(1, 7))
expected_git_desc = ('%s-0-g%s'):format(dfhack_ver, git_commit:sub(1, 8))
if git_desc:sub(1, #expected_git_desc) ~= expected_git_desc then
err(([[Bad git description:
Expected %s, got %s]]):format(expected_git_desc, git_desc))
Expand Down

0 comments on commit 95dbacd

Please sign in to comment.