From eea05d7ce1aa83c434bdd62dfdc56f411d3f683b Mon Sep 17 00:00:00 2001 From: Lewis Daly Date: Fri, 8 Oct 2021 12:12:56 +0930 Subject: [PATCH] fix(ci): incorrect changelog path --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 88c93cb9..13fab679 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -248,7 +248,7 @@ jobs: - run: name: Format the changelog into the github release body and get release tag command: | - git diff --no-indent-heuristic master~1 HEAD CHANGELOG.md | sed -n '/^+[^+]/ s/^+//p' > /tmp/changes + git diff --no-indent-heuristic master~1 HEAD src/CHANGELOG.md | sed -n '/^+[^+]/ s/^+//p' > /tmp/changes echo 'export RELEASE_CHANGES=`cat /tmp/changes`' >> $BASH_ENV echo 'export RELEASE_TAG=`cat src/package-lock.json | jq -r .version`' >> $BASH_ENV - run: @@ -260,12 +260,11 @@ jobs: tag: v${RELEASE_TAG} title: v${RELEASE_TAG} Release description: ${RELEASE_CHANGES} - file-path: CHANGELOG.md + file-path: src/CHANGELOG.md - slack/status: webhook: "$SLACK_WEBHOOK_ANNOUNCEMENT" success_message: '*"${CIRCLE_PROJECT_REPONAME}"* - Release \`"v${RELEASE_TAG}"\` \nhttps://github.com/mojaloop/"${CIRCLE_PROJECT_REPONAME}"/releases/tag/"v${RELEASE_TAG}"' - build: executor: default-machine steps: