diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 23efc47..7cca09e 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -29,3 +29,10 @@ jobs: - name: Test run: | make test + - name: Build + run: | + python setup.py sdist bdist_wheel + - name: Publish + run: | + aws codeartifact login --tool twine --repository dev-arvi --domain nextdoor --domain-owner 364942603424 --region us-west-2 && twine upload --repository dev-arvi dist/* + diff --git a/Makefile b/Makefile index 00d99d0..8cb13ff 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,8 @@ test: venv install: python setup.py install +upload: + ############################################################################### # Development Environment Setup ############################################################################### diff --git a/code_crypt/metadata.py b/code_crypt/metadata.py index 1b1f298..ec062dc 100644 --- a/code_crypt/metadata.py +++ b/code_crypt/metadata.py @@ -13,5 +13,5 @@ # Copyright 2017 Nextdoor.com, Inc -__version__ = "0.1.5" +__version__ = "0.1.9_test" __desc__ = "Code Crypt" diff --git a/requirements.txt b/requirements.txt index 84eb978..1d73055 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ boto3>=1.17.106,<2.0.0 cryptography>=36.0.2 # ugh... they use major versions mainly now +twine==6.1.0 +awscli==1.38.17 \ No newline at end of file