diff options
author | Jacob Evans <dekz@dekz.net> | 2017-11-23 11:37:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-23 11:37:34 +0800 |
commit | 437ac301db3c03c0abd0f741a17c56a4eebc2aa4 (patch) | |
tree | 2bd3276289578e99140f8f1168af58f07d566476 /packages/assert | |
parent | 9c9ce9752537122df51b935bf1f63f128414fc0f (diff) | |
parent | 215740fab27d75630f55e7a3194b9e498b511c08 (diff) | |
download | dexon-sol-tools-437ac301db3c03c0abd0f741a17c56a4eebc2aa4.tar dexon-sol-tools-437ac301db3c03c0abd0f741a17c56a4eebc2aa4.tar.gz dexon-sol-tools-437ac301db3c03c0abd0f741a17c56a4eebc2aa4.tar.bz2 dexon-sol-tools-437ac301db3c03c0abd0f741a17c56a4eebc2aa4.tar.lz dexon-sol-tools-437ac301db3c03c0abd0f741a17c56a4eebc2aa4.tar.xz dexon-sol-tools-437ac301db3c03c0abd0f741a17c56a4eebc2aa4.tar.zst dexon-sol-tools-437ac301db3c03c0abd0f741a17c56a4eebc2aa4.zip |
Merge branch 'development' into feature/calculate-remaining-proportions
Diffstat (limited to 'packages/assert')
-rw-r--r-- | packages/assert/package.json | 6 | ||||
-rw-r--r-- | packages/assert/scripts/postpublish.js | 14 |
2 files changed, 17 insertions, 3 deletions
diff --git a/packages/assert/package.json b/packages/assert/package.json index ed1d2a98b..d0f40c66e 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/assert", - "version": "0.0.4", + "version": "0.0.5", "description": "Provides a standard way of performing type and schema validation across 0x projects", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/assert/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.1.0", + "@0xproject/tslint-config": "^0.1.1", "@types/lodash": "^4.14.78", "@types/mocha": "^2.2.42", "@types/valid-url": "^1.0.2", @@ -37,7 +37,7 @@ "typescript": "^2.4.2" }, "dependencies": { - "@0xproject/json-schemas": "^0.6.7", + "@0xproject/json-schemas": "^0.6.8", "bignumber.js": "~4.1.0", "ethereum-address": "^0.0.4", "lodash": "^4.17.4", diff --git a/packages/assert/scripts/postpublish.js b/packages/assert/scripts/postpublish.js new file mode 100644 index 000000000..7fa452b08 --- /dev/null +++ b/packages/assert/scripts/postpublish.js @@ -0,0 +1,14 @@ +const postpublish_utils = require('../../../scripts/postpublish_utils'); +const packageJSON = require('../package.json'); + +const subPackageName = packageJSON.name; + +postpublish_utils.getLatestTagAndVersionAsync(subPackageName) + .then(function(result) { + const releaseName = postpublish_utils.getReleaseName(subPackageName, result.version); + const assets = []; + return postpublish_utils.publishReleaseNotes(result.tag, releaseName, assets); + }) + .catch (function(err) { + throw err; + }); |