Skip to content
Snippets Groups Projects
Commit db5a58e3 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig) Committed by Kristian Klausen
Browse files

gitpkg: Improve ver_sed

parent d46b7f65
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !536. Comments created here will be created in the context of that merge request.
......@@ -383,7 +383,7 @@ if gitify
warn "pkgver() deduction failed: #{e}"
end
ver_sed << "s/-/+/g"
ver_sed << "s/[^-]*-g/r&/;s/-/+/g"
<<~END
cd #{localname}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment