Remove ethpm.json and update releasing docs (#2205)

* remove ethpm.json

* update releasing document

* fix release documentation to be more realistic
This commit is contained in:
Francisco Giordano
2020-04-20 20:10:30 -03:00
committed by GitHub
parent 715ec806f0
commit 528c23d679
4 changed files with 11 additions and 93 deletions

View File

@ -1,14 +1,12 @@
#!/usr/bin/env node
// Synchronizes the versions in ethpm.json and contracts/package.json with the
// one in package.json.
// Synchronizes the version in contracts/package.json with the one in package.json.
// This is run automatically when npm version is run.
const fs = require('fs');
const cp = require('child_process');
setVersion('contracts/package.json');
setVersion('ethpm.json');
function setVersion (file) {
const json = JSON.parse(fs.readFileSync(file));