Skip to content

Commit

Permalink
feat(generate changelog): generate changelog with semantic release (#21)
Browse files Browse the repository at this point in the history
* feat(generate changelog): add semantic release's config

* feat(generate changelog): update CI
  • Loading branch information
Jeremy Chauvin committed Mar 25, 2020
1 parent 3fbc6cc commit cb0965a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,12 @@ name: default

steps:
- name: Semantical Versionning
image: python:3.6
image: node:12
commands:
- *add_ssh
- pip install -r .semver/requirements.txt
- python .semver/main.py
- npx semantic-release
environment:
SSH_KEY:
from_secret: CI_SSH_KEY
GITHUB_TOKEN:
from_secret: github_token
when:
branch:
- master
Expand Down
10 changes: 10 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/changelog",
"@semantic-release/git"
],
"branch": "master"
}

0 comments on commit cb0965a

Please sign in to comment.