Skip to content

Commit

Permalink
no docker, upgrade version
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed May 24, 2024
1 parent 0affa6b commit de60c15
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,31 @@ jobs:
# Automatically generate a changelog since migration from Google Docs to GitHub
github_changelog_generator:
docker:
- image: ferrarimarco/github-changelog-generator:1.14.3
- image: cimg/ruby
steps:
- setup_remote_docker
# checkout code to default ~/project
- checkout
- run:
name: install github_changelog_generator
command: |
gem install github_changelog_generator
- run:
name: check version
command: |
github_changelog_generator --version
- run:
name: Build changelog
# $CHANGELOG_GITHUB_TOKEN was generated via the GitHub web UI of the `bids-maintenance`
# GitHub user (see https://github.com/settings/tokens), and was then securely stored within
# CircleCI web UI.
command: |
mkdir ~/changelog_build
github_changelog_generator --version
github_changelog_generator \
--exclude-tags-regex "^(?!v).*?$" \
--user bids-standard \
--project bids-specification \
--token ${CHANGELOG_GITHUB_TOKEN} \
--output ~/changelog_build/CHANGES.md \
--base ~/project/src/pregh-changes.md \
--header-label "# Changelog" \
--release-branch master \
--no-issues \
Expand All @@ -126,6 +131,10 @@ jobs:
--bugs-label "" \
--exclude-labels "exclude-from-changelog"
cat ~/changelog_build/CHANGES.md
- run:
name: append changelog from pre-GitHub times
command: |
cat ~/project/src/pregh-changes.md >> ~/changelog_build/CHANGES.md
- persist_to_workspace:
# raw generated changelog in ~/changelog_build/CHANGES.md
root: ~/.
Expand Down

0 comments on commit de60c15

Please sign in to comment.