Please sign in to comment.
Use git's version number for releases.
This will allow more specific version numbers, while simplifying a proper release down to a tag and make dist. During development, ./version.sh needs to run periodically to update the version number. I'd recommend just adding a call to version.sh as a git post commit hook: % cat .git/hooks/post-commit echo "Updating version." ./version.sh (and make sure the file is executable)
- Loading branch information...
Showing with 16 additions and 3 deletions.
|@@ -0,0 +1,8 @@|
|+if git describe > version.tmp|
|+ echo "m4_define([VERSION_NUMBER], [`tr -d '\n' < version.tmp`])" \|
|+ > version.m4|