diff --git a/.circleci/config.yml b/.circleci/config.yml index 2e49b13aa5..a540f74c54 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,7 @@ jobs: steps: - checkout - run: + name: install dependencies command: | python -m pip install --upgrade pip pip install -r requirements.txt @@ -23,6 +24,7 @@ jobs: - attach_workspace: at: ~/build - run: + name: check links command: | if (! git log -1 --pretty=%b | grep REL:) ; then chmod a+rX -R ~ @@ -69,28 +71,28 @@ jobs: version: 18.06.0-ce - checkout - run: - name: Build changelog - working_directory: ~/build - command: | - if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then - github_changelog_generator \ - --user bids-standard \ - --project bids-specification \ - --token ${CHANGE_TOKEN} \ - --output ~/build/CHANGES.md \ - --base ~/build/src/pregh-changes.md \ - --header-label "# Changelog" \ - --no-issues \ - --no-issues-wo-labels \ - --no-filter-by-milestone \ - --no-compare-link \ - --pr-label "" \ - --release-branch master - cat ~/build/CHANGES.md - mv ~/build/CHANGES.md ~/build/src/CHANGES.md - else - echo "Commit or Release, do nothing" - fi + name: Build changelog + working_directory: ~/build + command: | + if (git log -1 --pretty=%s | grep Merge*) && (! git log -1 --pretty=%b | grep REL:) ; then + github_changelog_generator \ + --user bids-standard \ + --project bids-specification \ + --token ${CHANGE_TOKEN} \ + --output ~/build/CHANGES.md \ + --base ~/build/src/pregh-changes.md \ + --header-label "# Changelog" \ + --no-issues \ + --no-issues-wo-labels \ + --no-filter-by-milestone \ + --no-compare-link \ + --pr-label "" \ + --release-branch master + cat ~/build/CHANGES.md + mv ~/build/CHANGES.md ~/build/src/CHANGES.md + else + echo "Commit or Release, do nothing" + fi - persist_to_workspace: root: . paths: src