Browse Source

fix(release.config.js): use full commit hash in commit link [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/89
tags/v2.3.2
Imran Iqbal 5 years ago
parent
commit
b13ec85433
2 changed files with 6 additions and 6 deletions
  1. +5
    -5
      .travis.yml
  2. +1
    -1
      release.config.js

+ 5
- 5
.travis.yml View File

- pip install --user yamllint>=1.17.0 - pip install --user yamllint>=1.17.0
- yamllint -s . - yamllint -s .
# Install and run `commitlint` # Install and run `commitlint`
- npm install @commitlint/config-conventional -D
- npm install @commitlint/travis-cli -D
- npm i -D @commitlint/config-conventional
@commitlint/travis-cli
- commitlint-travis - commitlint-travis
# Run the `rubocop` linter in a separate job that is allowed to fail # Run the `rubocop` linter in a separate job that is allowed to fail
# Once these lint errors are fixed, this can be merged into a single job # Once these lint errors are fixed, this can be merged into a single job
- maintainer contributor - maintainer contributor


# Install all dependencies required for `semantic-release` # Install all dependencies required for `semantic-release`
- npm install @semantic-release/changelog@3 -D
- npm install @semantic-release/exec@3 -D
- npm install @semantic-release/git@7 -D
- npm i -D @semantic-release/changelog@3
@semantic-release/exec@3
@semantic-release/git@7
deploy: deploy:
provider: script provider: script
skip_cleanup: true skip_cleanup: true

+ 1
- 1
release.config.js View File

} }


if (typeof commit.hash === `string`) { if (typeof commit.hash === `string`) {
commit.hash = commit.hash.substring(0, 7)
commit.shortHash = commit.hash.substring(0, 7)
} }


if (typeof commit.subject === `string`) { if (typeof commit.subject === `string`) {

Loading…
Cancel
Save