From 1a645fea18a3fe042b90970151bea08b9d6cdace Mon Sep 17 00:00:00 2001 From: Don Cross Date: Mon, 14 Mar 2022 05:09:56 -0400 Subject: [PATCH] Bumped npm,pypi versions to 2.0.13 to test publish. The way I was publishing the Python package was annoying. I found a better way to authenticate myself to pypi.org, but I needed to test it. This required bumping the version numbers of the packages. There is no difference between 2.0.12 and 2.0.13. --- source/js/package.json | 2 +- source/python/publish | 3 ++- source/python/setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/js/package.json b/source/js/package.json index e902bc53..d5ce8c90 100644 --- a/source/js/package.json +++ b/source/js/package.json @@ -1,6 +1,6 @@ { "name": "astronomy-engine", - "version": "2.0.12", + "version": "2.0.13", "description": "Astronomy calculation for Sun, Moon, and planets.", "main": "./astronomy.js", "module": "./esm/astronomy.js", diff --git a/source/python/publish b/source/python/publish index 9c1b6c87..08a79732 100755 --- a/source/python/publish +++ b/source/python/publish @@ -1,4 +1,5 @@ #!/bin/bash +rm -f dist/* python3 -m build || exit $? -python3 -m twine upload dist/* || exit $? +python3 -m twine upload --repository astronomy-engine dist/* || exit $? exit 0 diff --git a/source/python/setup.py b/source/python/setup.py index e3620e29..2635f922 100644 --- a/source/python/setup.py +++ b/source/python/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='astronomy-engine', - version='2.0.12', + version='2.0.13', description='Astronomy calculation for Sun, Moon, and planets.', long_description=open('README.md').read(), long_description_content_type='text/markdown',