Skip to content

Commit

Permalink
Merge pull request #23 from cybertk/semantic-release
Browse files Browse the repository at this point in the history
Enable automated release
  • Loading branch information
cybertk authored Jul 19, 2016
2 parents b1cdb94 + f7bf316 commit 61cc9f1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ node_js:
- iojs-v2
- '0.12'
- '0.10'
before_script:
- npm prune
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
notifications:
slack:
secure: rnwOVPsCeKJaU2J/qnovUkMyyAi/NBYh4fVlOK9PhtIgwbqG88xIK82QtlpSt/8I9WlOMCTCGvkXD3i+SFTY+S072iTqR+NA21D87Vu3gb2a2AfVdWTUqX9eJW4jKKhZ+e15siUcO4qIUnvYTI6kHap3RoGtcBpLFe132cHUpY0KLv/DVI9K++4Cem1W8syhbqY1WRvd6FrvGxt+WFnvjTJonIIEHNOCp7a2uGgaENaUvwJJZUoW3bqDqM3HMuNpsKHlr1sPn5/bcBAtkINWXkgXNThkXXRT8+tb3H83BhmM7YHI99qk62DJ3xLa4TVimQpDxBs3hD7bI2qhY3tb8q4Z25aDEk+hYWkkcER0sOp+GyYfOjOKn8iJmPFgcoBeH122bfERZ+ysUjSZtZtb1y8CI0S3g8odQzYpPgffj7+Ip1ZTJrbVXP7x14lQ/0FLoR56rGoZlqdG9O7gEWgyDpsNZJMpv+UrOKg875TIThmGbCNZ7AVF0/T7xkOD4oPDGFufl+2lmW5DYhYWYq9R27xSvfT+dzctWUkBBnI58wSk7p+r9we5QRBfswmDbc00yW3fvXl7ETblFKk4gsGTHMC5QvZQQayGmt4R+uu7rvXTHGFK0TEimWtbjZ9lmKQs/AmZzbUW59H7pEZukTxEwR14M7RePNz2VWUePIIMWlo=
email: false
deploy:
provider: npm
email: kyan.ql.he@gmail.com
api_key:
secure: JH8DeOY/A0Fc5n0ctgl+2nPoXBjmguuNyiFzPIeiKktvtT0TImEYDexfSm1MSGqYGa64kiarfWFDCt+x6CokOBIW6G7Hddi7VgAsNffkXWD70O6y8UXU9j4KhbJVO+iCNdxrM8v7ndrseKcfZ2s1amX/4kxglfwcIckUD5f+3ShEX3iZMjdW3aaTkkOBis5viAxbujPC2OGuL9JAvXtJU0YT543OCFRgdXWUc5SO0qfiG2uTDFkYOOMsLY0EBiOOIzjCnXL2+/1hk6Cr1EYUouqWjdlbgw4ljaWB4Ft9u6t/0pPPdiIPeLpPg1yofO++LHJOaWE7eTrvbkeV1O8Pl76RrTTPCE7u8EtWZ6ITdi9l1b31BoyLKRawOhTlPi0lEe4roS0HuIjT1W4N7rIqG2yf2fZzLo8IE8xON6vQThgOHOJ4PlSJSFgXLWh+TB43OOIIzvfyJvL2kbS/U9l0Vygf4TPee0UvSd3Z0d+rCDsIWCPuV9yQwwl9hD8xnrBtdVrYbDY6wcwfMBoGMCfugaWJOxnaMvZL+TGVzFGc0UtviqlYqNc5YzOG6sVwS/+ccGa072nYgOPXUYuHxpDD/ZKarmNvRnP3NEcYZCXs1+hv8/m4mfBbd4tCs55CizOGiVhR+qTgEc2PZyIOUfjG00r0coFrIlmPQmlNuYvk1xQ=
on:
tags: true
repo: cybertk/generator-swift-framework
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)
[![Dependency Status](https://david-dm.org/cybertk/generator-swift-framework.svg)](https://david-dm.org/cybertk/generator-swift-framework)
[![devDependency Status](https://david-dm.org/cybertk/generator-swift-framework/dev-status.svg)](https://david-dm.org/cybertk/generator-swift-framework#info=devDependencies)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

generator-swift-framework is used to create a Xcode [Embedded Framework](https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html) project with the following features:

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "generator-swift-framework",
"version": "0.1.2",
"description": "Scaffolds out a Xcode Embedded Framework project with Swift 2.0",
"license": "MIT",
"main": "app/index.js",
Expand All @@ -18,7 +17,8 @@
"test": "npm run test:unit",
"test:unit": "mocha",
"test:template": "xcodebuild -list -project generators/app/templates/PROJECT_NAME.xcodeproj",
"open-template-project": "open generators/app/templates/PROJECT_NAME.xcodeproj"
"open-template-project": "open generators/app/templates/PROJECT_NAME.xcodeproj",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"files": [
"generators"
Expand All @@ -39,6 +39,7 @@
"yeoman-assert": "^2.0.0",
"yeoman-test": "^1.4.0",
"mocha": "^2.4.5",
"standard": "^7.1.0"
"standard": "^7.1.0",
"semantic-release": "^4.3.5"
}
}

0 comments on commit 61cc9f1

Please sign in to comment.