#!/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