Skip to content

Commit

Permalink
add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
walexnelson committed Oct 24, 2021
1 parent d38c887 commit 988c5b4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ Refer to the [documentation](https://pyfatsecret.readthedocs.org/en/latest/) for

## Contributing

All contributions are welcome! I'm not actively maintaining this library, so there's a good chance that any API changes have not been implemented in this wrapper.
All contributions are welcome! I'm not actively maintaining this library, so there's a good chance that any API changes have not been implemented in this wrapper.
15 changes: 15 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# Simple script to automate the build and release of new packages.
# This is based on the deployment guides found at
# https://packaging.python.org/tutorials/packaging-projects/

echo "setting up build tools"
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine

echo "creating new build"
python3 -m build

echo "uploading build assets"
python3 -m twine upload --repository fatsecret dist/*
Empty file added tests/.gitkeep
Empty file.

0 comments on commit 988c5b4

Please sign in to comment.