Add the step to delete the build dir to the RELEASE notes (#1467)
This commit is contained in:
committed by
Nicolás Venturo
parent
32bc7a6fe5
commit
f72c79d54a
@ -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.
|
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.)
|
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.
|
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.
|
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.)
|
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.
|
3. Recover the directories using `git checkout`. It doesn't matter if you do this now or later.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user