Skip to content

Commit

Permalink
new release update procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-volz committed Jun 28, 2022
1 parent 9896a13 commit 0d38f0b
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions docs/additionalInfos/procedureNewRelease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# How to publish a new PyPi package

## 1. Run Tests

Go into the tests folder and run following commands
```bash
pytest node/

pytest ocean/
```

## 2. Change Version

1. setup.py
2. docs/source/conf.py

## 3. Build package and publish

### Requirements
```bash
pip install twine
```

### Build
```bash
python3 setup.py sdist bdist_wheel
```

### Publish
```bash
twine upload dist/*
```

## 4. Publish new release on GitHub

### Heading
DefichainPython v...

### Markdown
```
## Improvements
...
## [The Code base to this release](last commit)
```

## Additional
1. Version tag
2. created binary's

0 comments on commit 0d38f0b

Please sign in to comment.