File: UnixGitBuildScript.sh

package info (click to toggle)
konclude 0.6.2~dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 26,976 kB
  • ctags: 43,332
  • sloc: cpp: 250,898; xml: 54,573; makefile: 29; ansic: 3; sh: 3
file content (10 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

#revisionCount=`git log --oneline | wc -l`
#echo "#define KONCLUDE_VERSION_GIT_REVISION_NUMBER $revisionCount" > revision-git.h

#revisionTagName=`git describe --tags --match v*.*.* --abbrev=0`
#echo "#define KONCLUDE_VERSION_GIT_TAG_NAME_STRING \"$revisionTagName\"" >> revision-git.h

#revisionHashName=`git log --pretty=format:%h -n 1`
#echo "#define KONCLUDE_VERSION_GIT_REVISION_HASH_STRING \"$revisionHashName\"" >> revision-git.h