Skip to content

Commit

Permalink
Merge pull request NREL#170 from machallboyd/documentation/clean-buil…
Browse files Browse the repository at this point in the history
…d-process

[NREL#168] Correct build process docs to remove unwanted files first
  • Loading branch information
nreinicke authored Apr 24, 2023
2 parents b0c90ba + d7100eb commit b02b190
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/source/developer/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,18 @@

1. Create a new branch and open a PR on GitHub which will run all actions

1. Apply any fixes to make the actions pass
1. Apply any fixes to make the actions pass

1. Clean your local directory. This will prevent any files not under source control from being built into the distribution.

```bash
git clean -f -x
```

1. Build the wheel and source distributions:

```bash
python setup.py bdist_wheel sdist
python setup.py clean bdist_wheel sdist
```

1. Upload to Test PyPi
Expand Down

0 comments on commit b02b190

Please sign in to comment.