mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-30 01:48:43 +02:00
This switches the 'remotes/origin/HEAD' and uses the current HEAD of the current checked out git repo. Revised the sed rule that is transforming (to be more specific on the matching regex /-\d+-g/ than just the first /-/): 8.3.530-7-gb64321d4 => 8.3.530+7-gb64321d4 (replace first '-' with '+' to indicate it is tag plus this many commits) 8.3.530 => 8.3.530 (no change)