From d3e475d85f3d088242b3a7a1d9de41553c49767b Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Sat, 20 Oct 2018 19:25:51 -0600 Subject: [PATCH] Add the step to delete the build dir to the RELEASE notes --- RELEASING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 40360afcf93..7ef7f098f64 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -36,7 +36,7 @@ Draft the release notes in our [GitHub releases](https://github.com/OpenZeppelin Before publishing on npm you need to generate the build artifacts. This is not done automatically at the moment because of a bug in Truffle. Since some of the contracts should not be included in the package, this is a _hairy_ process that you need to do with care. -1. Delete the `contracts/mocks` and `contracts/examples` directories. +1. Delete the `contracts/mocks`, `contracts/examples` and `build` directories. 2. Run `truffle compile`. (Note that the Truffle process may never exit and you will have to interrupt it.) 3. Recover the directories using `git checkout`. It doesn't matter if you do this now or later. @@ -70,7 +70,7 @@ Draft the release notes in GitHub releases. Try to be consistent with our previo Before publishing on npm you need to generate the build artifacts. This is not done automatically at the moment because of a bug in Truffle. Since some of the contracts should not be included in the package, this is a _hairy_ process that you need to do with care. -1. Delete the `contracts/mocks` and `contracts/examples` directories. +1. Delete the `contracts/mocks`, `contracts/examples` and `build` directories. 2. Run `truffle compile`. (Note that the Truffle process may never exit and you will have to interrupt it.) 3. Recover the directories using `git checkout`. It doesn't matter if you do this now or later.