Skip to content

Commit

Permalink
Updating git tagging instructions in CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuska committed Nov 15, 2024
1 parent 12eb6ca commit e242439
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ git push
Then tag the commit with the same version number (note the "v" prefix), push the code and push the tag:

```sh
git tag v0.3.1
git push origin v0.3.1
NEW_VERSION=v$(poetry version -s)
git tag "$NEW_VERSION"
git push origin "$NEW_VERSION"
```

Now go to github.com and do a release, selecting the version number tag you just pushed. This will automatically trigger the new version being tested and pushed to PyPI if the tests pass.
Expand Down

0 comments on commit e242439

Please sign in to comment.