diff --git a/.travis.yml b/.travis.yml index 5343e86..f455baa 100644 --- a/.travis.yml +++ b/.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 @@ -52,33 +52,33 @@ jobs: # the `platforms` defined in `kitchen.yml` - env: INSTANCE=default-debian-10-master-py3 # - env: INSTANCE=default-ubuntu-1804-master-py3 - # - env: INSTANCE=redhat-centos-8-master-py3 - # - env: INSTANCE=redhat-fedora-31-master-py3 + # - env: INSTANCE=default-centos-8-master-py3 + # - env: INSTANCE=fedora-fedora-31-master-py3 # - env: INSTANCE=default-opensuse-leap-151-master-py3 - # - env: INSTANCE=redhat-amazonlinux-2-master-py2 + # - env: INSTANCE=default-amazonlinux-2-master-py2 # - env: INSTANCE=default-arch-base-latest-master-py2 # - env: INSTANCE=default-debian-10-2019-2-py3 # - env: INSTANCE=default-debian-9-2019-2-py3 - env: INSTANCE=default-ubuntu-1804-2019-2-py3 - # - env: INSTANCE=redhat-centos-8-2019-2-py3 - - env: INSTANCE=redhat-fedora-31-2019-2-py3 - - env: INSTANCE=default-opensuse-leap-151-2019-2-py3 + - env: INSTANCE=default-centos-8-2019-2-py3 + # - env: INSTANCE=fedora-fedora-31-2019-2-py3 + # - env: INSTANCE=default-opensuse-leap-151-2019-2-py3 # - env: INSTANCE=default-centos-7-2019-2-py2 - # - env: INSTANCE=redhat-amazonlinux-2-2019-2-py2 - # - env: INSTANCE=default-arch-base-latest-2019-2-py2 - # - env: INSTANCE=redhat-fedora-30-2018-3-py3 + # - env: INSTANCE=default-amazonlinux-2-2019-2-py2 + - env: INSTANCE=default-arch-base-latest-2019-2-py2 + - env: INSTANCE=fedora-fedora-30-2018-3-py3 # - env: INSTANCE=default-debian-9-2018-3-py2 # - env: INSTANCE=default-ubuntu-1604-2018-3-py2 # - env: INSTANCE=default-centos-7-2018-3-py2 - # - env: INSTANCE=default-opensuse-leap-151-2018-3-py2 - - env: INSTANCE=redhat-amazonlinux-2-2018-3-py2 - - env: INSTANCE=default-arch-base-latest-2018-3-py2 + - env: INSTANCE=default-opensuse-leap-151-2018-3-py2 + # - env: INSTANCE=default-amazonlinux-2-2018-3-py2 + # - env: INSTANCE=default-arch-base-latest-2018-3-py2 # - env: INSTANCE=default-debian-8-2017-7-py2 # - env: INSTANCE=default-ubuntu-1604-2017-7-py2 - env: INSTANCE=default-centos-6-2017-7-py2 - # - env: INSTANCE=redhat-fedora-30-2017-7-py2 + # - env: INSTANCE=fedora-fedora-30-2017-7-py2 # - env: INSTANCE=default-opensuse-leap-151-2017-7-py2 - # - env: INSTANCE=redhat-amazonlinux-2-2017-7-py2 + # - env: INSTANCE=default-amazonlinux-2-2017-7-py2 # - env: INSTANCE=default-arch-base-latest-2017-7-py2 ## Define the release stage that runs `semantic-release` @@ -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 diff --git a/release.config.js b/release.config.js index afa0cb1..6af7aa8 100644 --- a/release.config.js +++ b/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`) {