Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add changelog #673

Merged
merged 3 commits into from
Dec 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,23 @@ jobs:
- run: npm view ory-hydra-sdk
- run: npm publish

changelog:
docker:
- image: circleci/ruby:2.4-node
working_directory: /go/src/github.com/ory/hydra
steps:
- checkout
- run: gem install github_changelog_generator
- run: npm i -g doctoc
- run: github_changelog_generator -u ory -p hydra -o CHANGELOG.md --token $GITHUB_TOKEN
- run: doctoc CHANGELOG.md
- run: git add CHANGELOG.md
- run: |
git commit -m "docs: Incorporates changes from version $(git describe --tags)" -- CHANGELOG.md
- run: git remote rm origin
- run: git remote add origin https://arekkas:$GITHUB_TOKEN@github.com/ory/hydra.git
- run: git push origin

workflows:
version: 2
"test, build, push, and deploy":
Expand Down Expand Up @@ -124,3 +141,11 @@ workflows:
only: /.*/
branches:
ignore: /.*/
- changelog:
requires:
- release
filters:
tags:
only: /.*/
branches:
ignore: /.*/
Loading