Skip to content

Commit

Permalink
RELEASE.md: minor updates to procedure (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmmacleod authored Aug 16, 2022
1 parent 3907246 commit 2b93ebd
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@ To cut a new release

- create a git tag

```bash
git tag -a -s vX.Y.Z
```
```bash
git tag -a -s vX.Y.Z
```

and populate the tag message with the release notes

- push the tag to github.com
- push the tag to github.com (change `upstream` to the appropriate
`remote` reference):

```bash
git push -u origin master --tags
```
```bash
git push upstream vX.Y.Z
```

- [create a release](https://github.com/gwpy/pyomicron/releases/new) on
github.com and copy the release notes into the description

- publish the release on pypi.python.org:

```bash
python setup.py sdist bdist_wheel --universal
python -m twine upload dist/pyomicron-X.Y.Z*
```
```bash
rm -rf dist/ # remove old distributions
python3 -m build --sdist --wheel
python3 -m twine upload --sign dist/pyomicron-*
```

0 comments on commit 2b93ebd

Please sign in to comment.