瀏覽代碼

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

* Automated using https://github.com/myii/ssf-formula/pull/89
tags/v1.2.2
Imran Iqbal 5 年之前
父節點
當前提交
9122f1a486
共有 2 個檔案被更改,包括 6 行新增6 行删除
  1. +5
    -5
      .travis.yml
  2. +1
    -1
      release.config.js

+ 5
- 5
.travis.yml 查看文件

@@ -43,8 +43,8 @@ jobs:
- gem install rubocop
- rubocop -d
# 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

## Define the rest of the matrix based on Kitchen testing
@@ -95,9 +95,9 @@ jobs:
- maintainer contributor

# 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:
provider: script
skip_cleanup: true

+ 1
- 1
release.config.js 查看文件

@@ -63,7 +63,7 @@ module.exports = {
}

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

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

Loading…
取消
儲存