Skip to content
Snippets Groups Projects
Commit 49cb495c authored by jurgenhaas's avatar jurgenhaas
Browse files

#41 Fix ahoy setup

parent 24a4f149
No related branches found
No related tags found
No related merge requests found
......@@ -191,14 +191,14 @@ function initialSetup {
function setupAhoy {
if [[ ! -f .ahoy.yml ]]; then
echo "ahoyapi: v2" >.ahoy.yml
echo "commands:" >.ahoy.yml
echo "commands:" >>.ahoy.yml
fi
EXISTING=$(cat .ahoy.yml | grep "^ changelog:")
if [[ ! -n ${EXISTING} ]]; then
echo " changelog:" >.ahoy.yml
echo " imports:" >.ahoy.yml
echo " - /usr/local/bin/.ahoy.changelog.yml" >.ahoy.yml
echo " usage: Changelog tools." >.ahoy.yml
if [[ -z ${EXISTING} ]]; then
echo " changelog:" >>.ahoy.yml
echo " imports:" >>.ahoy.yml
echo " - /usr/local/bin/.ahoy.changelog.yml" >>.ahoy.yml
echo " usage: Changelog tools." >>.ahoy.yml
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment