Skip to content

Commit

Permalink
🐛 FIX: #23
Browse files Browse the repository at this point in the history
  • Loading branch information
apolopena committed Feb 4, 2021
1 parent eaf1d83 commit ab4937a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bash/init-gitpod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ ! -d "$GITPOD_REPO_ROOT/bootstrap" ]; then
fi
fi
# Install https://github.com/github-changelog-generator/github-changelog-generator
installed_changelog_gen=$(bash utils.sh parse_ini_value starter.ini github-changelog-generator install)
installed_changelog_gen=$(bash bash/utils.sh parse_ini_value starter.ini github-changelog-generator install)
if [ "$installed_changelog_gen" == 1 ]; then
gem install github_changelog_generator
fi
Expand Down
6 changes: 3 additions & 3 deletions bash/init-rake-tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ add_changelog_rake() {
local project=$(basename $GITPOD_REPO_ROOT)
local since_tag
local future_release
since_tag=$(bash utils.sh parse_ini_value starter.ini github-changelog-generator since_tag)
future_release=$(bash utils.sh parse_ini_value starter.ini github-changelog-generator future_release)
since_tag=$(bash bash/utils.sh parse_ini_value starter.ini github-changelog-generator since_tag)
future_release=$(bash bash/utils.sh parse_ini_value starter.ini github-changelog-generator future_release)

# this rake task cannot handle empty strings as values so handle them (whitespace is ok though)
[ -z "$since_tag" ] && default_since_tag='' || default_since_tag="config.since_tag = '$since_tag'"
Expand All @@ -28,7 +28,7 @@ EOF
# END: dynamic rake task functions

# BEGIN: conditionally add dynamic rake tasks on configuration in starter.ini
if [ "$(bash utils.sh parse_ini_value starter.ini github-changelog-generator install)" ]; then
if [ "$(bash bash/utils.sh parse_ini_value starter.ini github-changelog-generator install)" ]; then
add_changelog_rake
fi
# END: conditionally add dynamic rake tasks on configuration in starter.ini
Expand Down

0 comments on commit ab4937a

Please sign in to comment.