8000 fix(release.config.js): use full commit hash in commit link [skip ci] · saltstack-formulas/apt-formula@ca4ba6e · GitHub
[go: up one dir, main page]

Skip to content

Commit ca4ba6e

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

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
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
@@ -73,9 +73,9 @@ jobs:
7373
- maintainer contributor
7474

7575
# Install all dependencies required for `semantic-release`
76-
- npm install @semantic-release/changelog@3 -D
77-
- npm install @semantic-release/exec@3 -D
78-
- npm install @semantic-release/git@7 -D
76+
- npm i -D @semantic-release/changelog@3
77+
@semantic-release/exec@3
78+
@semantic-release/git@7
7979
deploy:
8080
provider: script
8181
skip_cleanup: true

release.config.js

Lines changed: 1 addition & 1 deletion
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)
0