Skip to content

Commit f3ec66d

Browse files
committed
fix(release.config.js): use full commit hash in commit link [skip ci]
* Automated using myii/ssf-formula#89
1 parent 8080be6 commit f3ec66d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
- gem install rubocop
4444
- rubocop -d
4545
# Install and run `commitlint`
46-
- npm install @commitlint/config-conventional -D
47-
- npm install @commitlint/travis-cli -D
46+
- npm i -D @commitlint/config-conventional
47+
@commitlint/travis-cli
4848
- commitlint-travis
4949

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

9797
# Install all dependencies required for `semantic-release`
98-
- npm install @semantic-release/changelog@3 -D
99-
- npm install @semantic-release/exec@3 -D
100-
- npm install @semantic-release/git@7 -D
98+
- npm i -D @semantic-release/changelog@3
99+
@semantic-release/exec@3
100+
@semantic-release/git@7
101101
deploy:
102102
provider: script
103103
skip_cleanup: true

release.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = {
6363
}
6464

6565
if (typeof commit.hash === `string`) {
66-
commit.hash = commit.hash.substring(0, 7)
66+
commit.shortHash = commit.hash.substring(0, 7)
6767
}
6868

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

0 commit comments

Comments
 (0)