Skip to content

Commit 54aa139

Browse files
committed
build: setup semantic release
1 parent 7651923 commit 54aa139

File tree

4 files changed

+3125
-75
lines changed

4 files changed

+3125
-75
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ script:
1010
cache: yarn
1111

1212
deploy:
13-
provider: npm
14-
15-
tag: alpha
16-
api_key: $NPM_TOKEN
13+
provider: script
1714
skip_cleanup: true
1815
on:
1916
branch: master
17+
script:
18+
- npx semantic-release --branch master

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vue-qrcode-reader
22

3-
[![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/) ![gzip-size](http://img.badgesize.io/gruhn/vue-qrcode-reader/master/dist/vue-qrcode-reader.common.js?compression=gzip) [![npm](https://img.shields.io/npm/v/vue-qrcode-reader.svg) ![npm](https://img.shields.io/npm/dm/vue-qrcode-reader.svg)](https://www.npmjs.com/package/vue-qrcode-reader)
3+
[![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/) [![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) [![npm](https://img.shields.io/npm/v/vue-qrcode-reader.svg) ![npm](https://img.shields.io/npm/dm/vue-qrcode-reader.svg)](https://www.npmjs.com/package/vue-qrcode-reader)
44

55
A Vue.js 2 component, accessing the device camera and allowing users to read QR codes, within the browser.
66

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-qrcode-reader",
33
"description": "A Vue.js component, accessing the device camera and allowing users to read QR-Codes, within the browser",
4-
"version": "0.8.9",
4+
"version": "0.0.0-development",
55
"author": {
66
"name": "Niklas Gruhn",
77
"email": "[email protected]"
@@ -73,6 +73,7 @@
7373
"phantomjs-prebuilt": "^2.1.14",
7474
"sass-loader": "^4.1.0",
7575
"selenium-server": "^3.0.1",
76+
"semantic-release": "^15.9.9",
7677
"sinon": "^2.1.0",
7778
"sinon-chai": "^2.8.0",
7879
"vue-loader": "^10.0.0",

0 commit comments

Comments
 (0)