diff --git a/.travis.yml b/.travis.yml index fe19843..e9b9ac7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,5 @@ deploy: api_key: $NPM_TOKEN skip_cleanup: true on: - branch: release - condition: $TRAVIS_BRANCH = release + tags: true after_deploy: echo "$(tput bold)$(tput setaf 6)Completed Deployment of NPM version - `cat package.json | python -c "import sys, json; print(json.load(sys.stdin)['version'])"`" diff --git a/README.md b/README.md index 7716e70..3105fe2 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ This repo is a compiled and minified version of the utilities functions from the [googlei18n's libphonenumber](https://github.com/googlei18n/libphonenumber) library. The functions are exposed to `window.intlTelInputUtils` inside browser environment. +# How to use? +* Add `libphonenumber-js-utils` to the package dependency. +* `import 'libphonenumber-js-utils';` in your code. +* The functions will be available in `window.intlTelInputUtils`. + # Features inside it : Name | Type | Description -----|------|--------------- @@ -42,12 +47,6 @@ Checkout closure-library, closure-compiler, closure-linter and python-gflags nex 3. Run the compiled demo: `javascript/i18n/phonenumbers/demo-compiled.html` -### Release: -1. Raise a PR from `master` branch to `release` branch. -2. Make sure you have updated the `version` in `package.json`. -3. Merge the PR. -4. The travis will release the module to `npm registry`. - # Contributors : [![@superhit0](https://avatars.githubusercontent.com/superhit0?size=50)](https://github.com/superhit0) | [![@patw0929](https://avatars.githubusercontent.com/patw0929?size=50)](https://github.com/patw0929) | [![@nutboltu](https://avatars.githubusercontent.com/nutboltu?size=50)](https://github.com/nutboltu) ----|-----|----- diff --git a/package.json b/package.json index 8d79b01..db0c4c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "libphonenumber-js-utils", - "version": "8.10.3-alpha.0", + "version": "8.10.3-alpha.1", "googleLibphonenumberVersion": "8.10.3", "description": "", "main": "dist/libphonenumber.js",