Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working #303

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,19 +301,20 @@ jobs:

- if: |
github.event_name == 'release' ||
(github.event_name == 'workflow_dispatch' && github.event.inputs.publish-python-wrapper == 'true')
name: Publish
(github.event_name == 'workflow_dispatch' && github.event.inputs.publish-python-wrapper == 'true') ||
github.event_name == 'pull_request'
name: Publish to TestPyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
run: |
twine upload --skip-existing dist/*
twine upload --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
working-directory: wrappers/python

build-javascript:
name: Build and test JavaScript wrapper
needs: [build-release]

strategy:
matrix:
architecture:
Expand All @@ -327,7 +328,7 @@ jobs:
architecture: darwin-universal

runs-on: ${{ matrix.os }}

defaults:
run:
working-directory: wrappers/javascript
Expand Down Expand Up @@ -594,4 +595,4 @@ jobs:
|| contains(needs.*.result, 'cancelled')
|| contains(needs.*.result, 'skipped')
}}
run: exit 1
run: exit 1
2 changes: 1 addition & 1 deletion wrappers/python/aries_askar/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""aries_askar library wrapper version."""

__version__ = "0.3.2"
__version__ = "0.3.3b6"
4 changes: 2 additions & 2 deletions wrappers/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

from setuptools import find_packages, setup

PACKAGE_NAME = "aries_askar"
PACKAGE_NAME = "aries_askar_jamshale"
version_meta = runpy.run_path("./{}/version.py".format(PACKAGE_NAME))
VERSION = version_meta["__version__"]
VERSION = "0.3.3b6"

with open(os.path.abspath("./README.md"), "r") as fh:
long_description = fh.read()
Expand Down
Loading