Skip to content

Commit

Permalink
feat(sem-rel): Fix semantic-releases adding .releaserc (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
astha-jain authored Sep 14, 2021
1 parent 4f8c822 commit 220aec5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
22 changes: 22 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"debug": true,
"tagFormat": '${version}',
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
"prepareCmd": "bump2version --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
}
],
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ script:
- bundle exec rake

before_deploy:
- pip install bump2version
- nvm install 12
- npm install @semantic-release/changelog
- npm install @semantic-release/exec
- npm install @semantic-release/git
- npm install @semantic-release/github
- pip install bump2version
- npm install -g semantic-release
- npm install -g @semantic-release/changelog
- npm install -g @semantic-release/exec
- npm install -g @semantic-release/git
- npm install -g @semantic-release/github
- npm install -g @semantic-release/commit-analyzer

deploy:
- provider: script
Expand Down
10 changes: 0 additions & 10 deletions package.json

This file was deleted.

0 comments on commit 220aec5

Please sign in to comment.