Skip to content

Commit

Permalink
Merge pull request #71 from Snugug/feature/automated-releases
Browse files Browse the repository at this point in the history
Automated releases
  • Loading branch information
scottnath authored Jun 16, 2016
2 parents a50cceb + dba4fe3 commit f905558
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ lib-cov
# Coverage directory used by tools like istanbul & nyc
coverage
.nyc_output
.semantic-commits.json

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ services:

before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- npm prune

after_success:
- npm run coverage
- npm run semantic-release

after_success: npm run coverage
branches:
except:
- /^v\d+\.\d+\.\d+$/
#########################
## Notifications
#########################
notifications:
email: fail
email: false
slack:
secure: XR/vJ53xf+IkDmE/cMj9p2C9w4DVRN7/0/NjRDxYpQD/spqGl9jBz9kkVWCAprKigVhLVCZnYELaFpNPO39GGuxwh44sIkCq8XtnKKtikLKMbTc8CFNKpla8Qf/nHiKts+wxycbEQOCL2apQIFaAEs1nWNpZqKdhemoDtPXLTKRZLxMm0494iDn50klrAnrieqJOMt0Q0/XfC5AfmIM3yZxeRhbq0Oq6IV1uT4IZSIOejaMLV6Y6nQKHaYHHklVrDc1OaBMJO/MiIiDzUt0kONkQREbsZf5tka30MhHyvT660GcgZv8E9EBN/STTZ5pO23cD3JJE72SUCYpcWjguIzDxd9kohi9QMHk2NOfO0G7B5b87lRxlMk3I4ce7z0Gg+ToQ2c5T83i/Zj6B/lbdVzwUlPU+nVopjA2oVsm2GnqLEAbg1a2IY34xtATxBgS2wS68ZRZFD3YnrPYRIJBeddqdEWw95R2OiVQNH2/hUBb4UYnjzynKdhHSiuBAGhgbyYZHjDs1sGpdQvAdpwoBdXSun9jDxRhb5FIg1JOqIBFFe8vjEg1RYqLDjm4VSBVOkUI9Uudpa3TIg8cfGVczr81RJ5yy6fGDoYUfzr9Zq7pim9kE22WLzw7k0XeyKVN/aRTlBZsgfvvIzIijJrSexhKrHJHB/jcMUlcdP9fgGFQ=
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ Once you are connected you should be able to use psql cli syntax to check tables
* `select * from "database_name";` Displays all rows in database, replacing database_name with the table you want to see.
* list all tables for user punchcard: `\c punchcard \dt`

## Changelog

See the [latest release](https://github.com/punchcard-cms/punchcard/releases/latest) for the most recent changelog
20 changes: 13 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "punchcard-cms",
"version": "0.1.0-alpha.5",
"description": "Node-based content management system",
"main": "index.js",
"keywords": [
Expand All @@ -27,11 +26,12 @@
"dev:database": "postgres -D /usr/local/var/postgres",
"dev:start": "gulp",
"dev": "npm run dev:database & npm run dev:start",
"coverage": "nyc report --reporter=text-lcov | coveralls"
"coverage": "nyc report --reporter=text-lcov | coveralls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git@github.com:punchcard-cms/punchcard.git"
"url": "git+https://github.com/punchcard-cms/punchcard.git"
},
"contributors": [
"Rachel White <whiter@us.ibm.com>",
Expand All @@ -49,7 +49,7 @@
"connect-multiparty": "^2.0.0",
"connect-session-knex": "^1.0.23",
"debug": "^2.2.0",
"express": "^4.13.4",
"express": "^4.14.0",
"express-session": "^1.13.0",
"ibm-design-colors": "^1.6.0",
"input-plugin-password": "0.0.1",
Expand All @@ -66,22 +66,24 @@
"nunjucks": "^2.3.0",
"passport": "^0.3.2",
"passport-local": "^1.0.0",
"pg": "^4.5.6",
"pg": "^5.1.0",
"punchcard-content-types": "^0.6.0",
"serve-favicon": "^2.3.0",
"uuid": "^2.0.2"
},
"devDependencies": {
"ava": "^0.15.2",
"coveralls": "^2.11.9",
"ghooks": "^1.2.3",
"ghooks": "^1.2.4",
"input-plugin-email": "0.1.0",
"input-plugin-text": "0.0.5",
"jsdom": "^9.2.0",
"mock-express-response": "^0.1.2",
"nyc": "^6.0.0",
"nyc": "^6.6.1",
"punchcard-commit-msg": "^1.0.0",
"punchcard-runner": "^2.1.2",
"punchcard-semantic-release": "^2.0.0",
"semantic-release": "^4.3.5",
"supertest": "^1.2.0",
"tap-diff": "^0.1.1"
},
Expand All @@ -108,5 +110,9 @@
"ghooks": {
"commit-msg": "punchcard-commit-msg"
}
},
"release": {
"analyzeCommits": "punchcard-semantic-release/analyze",
"generateNotes": "punchcard-semantic-release/notes"
}
}

0 comments on commit f905558

Please sign in to comment.