0
0
mirror of https://github.com/saltstack-formulas/sysctl-formula.git synced 2024-11-27 23:07:54 +01:00

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

* Automated using https://github.com/myii/ssf-formula/pull/89
This commit is contained in:
Imran Iqbal 2019-10-31 10:27:50 +00:00
parent 017ac0b76f
commit 20995746db
2 changed files with 13 additions and 13 deletions

View File

@ -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
@ -60,18 +60,18 @@ jobs:
# - env: INSTANCE=default-debian-10-2019-2-py3 # - env: INSTANCE=default-debian-10-2019-2-py3
# - env: INSTANCE=default-debian-9-2019-2-py3 # - env: INSTANCE=default-debian-9-2019-2-py3
- env: INSTANCE=default-ubuntu-1804-2019-2-py3 - env: INSTANCE=default-ubuntu-1804-2019-2-py3
- env: INSTANCE=default-centos-8-2019-2-py3 # - env: INSTANCE=default-centos-8-2019-2-py3
- env: INSTANCE=default-fedora-31-2019-2-py3 # - env: INSTANCE=default-fedora-31-2019-2-py3
# - env: INSTANCE=default-opensuse-leap-151-2019-2-py3 # - env: INSTANCE=default-opensuse-leap-151-2019-2-py3
# - env: INSTANCE=default-centos-7-2019-2-py2 # - env: INSTANCE=default-centos-7-2019-2-py2
# - env: INSTANCE=default-amazonlinux-2-2019-2-py2 - env: INSTANCE=default-amazonlinux-2-2019-2-py2
# - env: INSTANCE=default-arch-base-latest-2019-2-py2 - env: INSTANCE=default-arch-base-latest-2019-2-py2
# - env: INSTANCE=default-fedora-30-2018-3-py3 - env: INSTANCE=default-fedora-30-2018-3-py3
# - env: INSTANCE=default-debian-9-2018-3-py2 # - env: INSTANCE=default-debian-9-2018-3-py2
# - env: INSTANCE=default-ubuntu-1604-2018-3-py2 # - env: INSTANCE=default-ubuntu-1604-2018-3-py2
# - env: INSTANCE=default-centos-7-2018-3-py2 # - env: INSTANCE=default-centos-7-2018-3-py2
- env: INSTANCE=default-opensuse-leap-151-2018-3-py2 - env: INSTANCE=default-opensuse-leap-151-2018-3-py2
- env: INSTANCE=default-amazonlinux-2-2018-3-py2 # - env: INSTANCE=default-amazonlinux-2-2018-3-py2
# - env: INSTANCE=default-arch-base-latest-2018-3-py2 # - env: INSTANCE=default-arch-base-latest-2018-3-py2
# - env: INSTANCE=default-debian-8-2017-7-py2 # - env: INSTANCE=default-debian-8-2017-7-py2
# - env: INSTANCE=default-ubuntu-1604-2017-7-py2 # - env: INSTANCE=default-ubuntu-1604-2017-7-py2
@ -79,7 +79,7 @@ jobs:
# - env: INSTANCE=default-fedora-30-2017-7-py2 # - env: INSTANCE=default-fedora-30-2017-7-py2
# - env: INSTANCE=default-opensuse-leap-151-2017-7-py2 # - env: INSTANCE=default-opensuse-leap-151-2017-7-py2
# - env: INSTANCE=default-amazonlinux-2-2017-7-py2 # - env: INSTANCE=default-amazonlinux-2-2017-7-py2
- env: INSTANCE=default-arch-base-latest-2017-7-py2 # - env: INSTANCE=default-arch-base-latest-2017-7-py2
## Define the release stage that runs `semantic-release` ## Define the release stage that runs `semantic-release`
- stage: release - stage: release
@ -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

View File

@ -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`) {