From f72c79d54a27be376403ec53b1705b09d765aa7f Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Fri, 2 Nov 2018 03:59:05 -0600 Subject: [PATCH] Add the step to delete the build dir to the RELEASE notes (#1467) --- RELEASING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 40360afcf..7ef7f098f 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.