Skip to content

Commit fde927a

Browse files
author
Harrison Ifeanyichukwu
committed
ci(releasing): set up semantic release for library publishing
1 parent 242b3cc commit fde927a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

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

33
[![Build Status](https://travis-ci.org/harrison-ifeanyichukwu/xml-serializer.svg?branch=master)](https://travis-ci.org/harrison-ifeanyichukwu/xml-serializer)
44
[![Coverage Status](https://coveralls.io/repos/github/harrison-ifeanyichukwu/xml-serializer/badge.svg?branch=master)](https://coveralls.io/github/harrison-ifeanyichukwu/xml-serializer?branch=master)
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
XML-Serializer is A JavaScript implementation of w3c [xml serialization](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-serialize-xml) spec. All specifications have been implemented and includes the following [specs](https://www.w3.org/TR/DOM-Parsing/#dfn-concept-xml-serialization-algorithm):
78

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"prebuild": "rimraf dist",
1212
"build": "BABEL_ENV=build rollup --config",
1313
"travis-deploy-once": "travis-deploy-once",
14-
"semantic-release": "semantic-release",
14+
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
1515
"validate-doc": "documentation lint src/**/*.js",
1616
"generate-doc": "rimraf docs/docs && documentation build src/**/*.js -f html -o docs/docs"
1717
},

0 commit comments

Comments
 (0)