diff options
| author | Jakob Unterwurzacher | 2020-04-13 12:35:40 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2020-04-13 14:54:04 +0200 | 
| commit | a2ad14b9ac92384f7cc0e8a0d8f385a9cd9a299a (patch) | |
| tree | 73990c317928b9684ee6f6be6fb1aacec3e8f960 | |
| parent | 210db84e200671d6eee195f47eaf5c696cca089e (diff) | |
build.bash: append branch name != master
| -rwxr-xr-x | build.bash | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -29,6 +29,10 @@ fi  # gocryptfs version according to git or a VERSION file  if [[ -d .git ]] ; then  	GITVERSION=$(git describe --tags --dirty) +	GITBRANCH=$(git rev-parse --abbrev-ref HEAD) +	if [[ -n $GITBRANCH && $GITBRANCH != master ]] ; then +		GITVERSION="$GITVERSION.$GITBRANCH" +	fi  elif [[ -f VERSION ]] ; then  	GITVERSION=$(cat VERSION)  else | 
