Skip to content
Snippets Groups Projects
Commit 3f51b8bb authored by Imran Iqbal's avatar Imran Iqbal
Browse files

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

parent 27ac5a3f
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,8 @@ jobs: ...@@ -43,8 +43,8 @@ jobs:
- gem install rubocop - gem install rubocop
- rubocop -d - rubocop -d
# Install and run `commitlint` # Install and run `commitlint`
- npm install @commitlint/config-conventional -D - npm i -D @commitlint/config-conventional
- npm install @commitlint/travis-cli -D @commitlint/travis-cli
- commitlint-travis - commitlint-travis
## Define the rest of the matrix based on Kitchen testing ## Define the rest of the matrix based on Kitchen testing
...@@ -95,9 +95,9 @@ jobs: ...@@ -95,9 +95,9 @@ jobs:
- 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 i -D @semantic-release/changelog@3
- npm install @semantic-release/exec@3 -D @semantic-release/exec@3
- npm install @semantic-release/git@7 -D @semantic-release/git@7
deploy: deploy:
provider: script provider: script
skip_cleanup: true skip_cleanup: true
......
...@@ -63,7 +63,7 @@ module.exports = { ...@@ -63,7 +63,7 @@ module.exports = {
} }
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`) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment