7 lines
177 B
Bash
Executable file
7 lines
177 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
currBranch="$(git branch --show-current)"
|
|
if [ $currBranch == "master" ]; then
|
|
echo -n "$currBranch" > ./mach_nix/VERSION
|
|
git add ./mach_nix/VERSION
|
|
fi
|