View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#313
Originally Posted by marxian View Post
Yeah, I know. I've already changed it to 0.3.6 for the next release.
Code:
head -1 debian/changelog  | sed 's/[^(]*(\([^)]*\)).*/\1/'
Make that output into some .h file and include that as the version, it saves you having to update twice.
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post: