mirror of https://github.com/Wilfred/difftastic/
Include cargo version in the generated manual
parent
fb846bd904
commit
80429e9697
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
DFT_VERSION=$(cargo read-manifest | jq -r .version)
|
||||
|
||||
jq .[1] | jq '.sections[0].Chapter.content |= sub("DFT_VERSION_HERE"; "'$DFT_VERSION'")'
|
||||
Loading…
Reference in New Issue