Skip to content

Commit

Permalink
🐛 FIX: fix 23
Browse files Browse the repository at this point in the history
  • Loading branch information
apolopena committed Feb 4, 2021
1 parent 0071ea4 commit 84e8255
Showing 1 changed file with 3 additions and 3 deletions.
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=$(. /tmp/utils.sh parse_ini_value starter.ini github-changelog-generator since_tag)
future_release=$(. /tmp/utils.sh parse_ini_value starter.ini github-changelog-generator 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)

# 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 [ "$(. /tmp/utils.sh parse_ini_value starter.ini github-changelog-generator install)" ]; then
if [ "$(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 84e8255

Please sign in to comment.