Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit 257b93d

Browse files
committed
feat(cd): semantic-release
1 parent 9eb28b0 commit 257b93d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ script:
99
stages:
1010
- lint
1111
- test
12+
- name: release
13+
if: type != pull_request AND branch = master
1214
jobs:
1315
include:
1416
- stage: lint
@@ -20,3 +22,7 @@ jobs:
2022
- npm run compile
2123
# Run integration tests
2224
- npm run test
25+
- stage: release
26+
script:
27+
- npm install --no-save node-fetch semantic-release
28+
- npx semantic-release

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![npm](https://img.shields.io/npm/v/vue-docgen-api.svg)](https://www.npmjs.com/package/vue-docgen-api)
44
[![Build Status](https://travis-ci.org/vue-styleguidist/vue-docgen-api.svg?branch=master)](https://travis-ci.org/vue-styleguidist/vue-docgen-api)
5+
[![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)
56

67
`vue-docgen-api` is a toolbox to help extracting information from [Vue][] components, and generate documentation from it.
78

0 commit comments

Comments
 (0)