8 lines
136 B
Bash
Executable File
8 lines
136 B
Bash
Executable File
#!/bin/sh
|
|
|
|
output="$(git rev-parse --abbrev-ref HEAD)"
|
|
|
|
if test -n "$output";then
|
|
echo "#define GIT_BRANCH_NAME \"$output\" //test"
|
|
fi
|