Skip to content

Commit

Permalink
feat: add auto to semi-automate releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sghoweri committed Oct 4, 2019
1 parent 4e777b6 commit b1ead01
Show file tree
Hide file tree
Showing 3 changed files with 349 additions and 18 deletions.
63 changes: 63 additions & 0 deletions .autorc
@@ -0,0 +1,63 @@
{
"repo": "bolt",
"name": "Salem Ghoweri",
"_plugins": ["bolt-release"],
"owner": "boltdesignsystem",
"email": "me@salemghoweri.com",
"skipReleaseLabels": ["docs", "chore", "internal", "wip", "devops"],
"labels": {
"documentation": "docs",
"deprecation": [
{
"title": "Deprecated ⚠️"
}
],
"major": [
{
"name": "breaking change",
"title": "Major Breaking Changes 🛑",
"description": "Add this label to a PR to create a major release when merged."
},
{
"name": "major release",
"title": "Major Breaking Changes 🛑",
"description": "Add this label to a PR to create a major release when merged."
}
],
"minor": [
{
"name": "new component",
"title": "New Components 🎉",
"description": "Increments the minor version when merged"
},
{
"name": "enhancement",
"title": "Features & Enhancements ✨",
"description": "Increments the minor version when merged"
},
{
"name": "new feature",
"title": "Features & Enhancements ✨",
"description": "Increments the minor version when merged"
},
{
"name": "improvement",
"title": "Features & Enhancements ✨",
"description": "Increments the minor version when merged"
}
],
"patch": [
{
"name": "bug",
"title": "Bug Fixes 🐛",
"description": "Increment the patch version when merged"
},
{
"name": "hotfix",
"title": "Bug Fixes 🐛",
"description": "Increment the patch version when merged"
}
],
"prerelease": "beta"
}
}
11 changes: 7 additions & 4 deletions package.json
Expand Up @@ -10,13 +10,13 @@
"pattern lab",
"web components"
],
"homepage": "https://github.com/bolt-design-system/bolt#readme",
"homepage": "https://github.com/boltdesignsystem/bolt#readme",
"bugs": {
"url": "https://github.com/bolt-design-system/bolt/issues"
"url": "https://github.com/boltdesignsystem/bolt/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bolt-design-system/bolt.git"
"url": "git+https://github.com/boltdesignsystem/bolt.git"
},
"license": "MIT",
"author": "Salem Ghoweri",
Expand Down Expand Up @@ -82,7 +82,8 @@
"test:php": "cd packages/core-php -- composer run test",
"test:pkgs": "lerna run test",
"test:types": "tsc",
"postinstall": "patch-package && npx lerna run postbootstrap"
"postinstall": "patch-package && npx lerna run postbootstrap",
"postpublish": "auto release"
},
"husky": {
"hooks": {
Expand All @@ -105,6 +106,8 @@
"extends @bolt/browserslist-config"
],
"dependencies": {
"@auto-it/slack": "^7.7.0",
"auto": "^7.7.0",
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@instructure/cz-lerna-changelog": "^6.6.0",
Expand Down

0 comments on commit b1ead01

Please sign in to comment.