瀏覽代碼

Add the step to delete the build dir to the RELEASE notes (#1467)

Leo Arias 7 年之前
父節點
當前提交
f72c79d54a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      RELEASING.md

+ 2 - 2
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.