Created
September 12, 2017 15:13
-
-
Save 4383/bd9b0ac96824bb10756d73ee194e96a9 to your computer and use it in GitHub Desktop.
README updated with git flow branch changing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
branch=$(git symbolic-ref HEAD 2>/dev/null | sed "s@refs/heads/@@") | |
sed -i "/\(build status\|documentation\)/{s@\(badges\|commits\|docs.ecocenter.fr/[^/]*\)/[^/]*\([^)]*)\)@\1/$branch\2@g}" $ROOTDIR/README.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment