diff --git a/scripts/git.sh b/scripts/git.sh new file mode 100755 index 0000000..333479a --- /dev/null +++ b/scripts/git.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env sh + +set -e + +main() { + git diff >/tmp/guacamole_keysyms.diff + + git add -A + git commit -sa + git push -u origin "$(git rev-parse --abbrev-ref HEAD)" +} + +main "$@" diff --git a/scripts/publish.sh b/scripts/publish.sh new file mode 100755 index 0000000..864bf2a --- /dev/null +++ b/scripts/publish.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env sh + +set -xe + +main() { + python3 pip install setuptools wheel twine + python3 setup.py sdist bdist_wheel + python3 -m twine upload dist/* +} + +main "$@" diff --git a/setup.py b/setup.py index bed376b..994cc0f 100644 --- a/setup.py +++ b/setup.py @@ -1,12 +1,12 @@ -import setuptools +import setuptools # type: ignore with open("README.md", "r") as desc: long_description: str = desc.read() setuptools.setup( name="guacamole_keysyms", - version="0.0.1", - author="Ari Archer", + version="0.0.2", + author="AriArcher", author_email="ari.web.xyz@gmail.com", description="Guacamole protocol key mappings for python", long_description=long_description,