Skip to content

Commit

Permalink
chore(release): use shared semantic release config
Browse files Browse the repository at this point in the history
  • Loading branch information
czosel committed May 8, 2019
1 parent 0829b81 commit b8cb1dc
Show file tree
Hide file tree
Showing 4 changed files with 2,333 additions and 108 deletions.
3 changes: 0 additions & 3 deletions .releaserc

This file was deleted.

8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
branches:
only:
- master
- next
- release
# npm version tags
- /^v\d+\.\d+\.\d+/

Expand Down Expand Up @@ -54,15 +54,15 @@ jobs:
- env: EMBER_TRY_SCENARIO=ember-default-with-jquery

- stage: release
if: branch = next and type = push
if: branch = release and type = push
script: skip
deploy:
provider: script
skip_cleanup: true
on:
branch: next
branch: release
script:
- npx semantic-release
- yarn semantic-release

- stage: "Deploy"
if: (branch = master or tag is present) and type = push
Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"lint:js": "eslint .",
"start": "ember server",
"test": "ember test",
"test:all": "ember try:each"
"test:all": "ember try:each",
"semantic-release": "semantic-release"
},
"dependencies": {
"broccoli-funnel": "^2.0.2",
Expand All @@ -47,6 +48,7 @@
"uikit": "3.1.2"
},
"devDependencies": {
"@adfinis-sygroup/semantic-release-config": "2.0.0",
"@commitlint/cli": "7.6.0",
"@commitlint/config-conventional": "7.6.0",
"@commitlint/travis-cli": "7.6.0",
Expand Down Expand Up @@ -103,6 +105,11 @@
}
},
"commitlint": {
"extends": ["@commitlint/config-conventional"]
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"extends": "@adfinis-sygroup/semantic-release-config"
}
}
Loading

0 comments on commit b8cb1dc

Please sign in to comment.