HospitalRun / hospitalrun-core

All elements shared between Frontend and Backend, including CouchDB design-documents and schemas.
44 stars 44 forks source link

Remove gitmoji to improve CI pipeline #3

Closed matteovivona closed 5 years ago

matteovivona commented 5 years ago

💥 Regression Report

Restore the semantic-release without the assistance of Gitmoji. Repository to use as a reference: https://github.com/tehKapa/testone

New devDependencies will be:

Other configurations in package.json file

 "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }

Only necessary script in package.json

"semantic-release": "semantic-release"

Other configuration files:

commitlint.config.js

module.exports = { extends: ["@commitlint/config-conventional"] };

.releaserc

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@semantic-release/changelog",
    "@semantic-release/npm",
    ["@semantic-release/git", {
      "assets": ["package.json", "CHANGELOG.md"],
      "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
    }],
    "@semantic-release/github"
  ]
}
matteovivona commented 5 years ago

@fox1t core will have a changelog?

ghost commented 4 years ago

:tada: This issue has been resolved in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: