Skip to content

Commit

Permalink
Merge branch 'release/1.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
SkypLabs committed Mar 18, 2023
2 parents 7d6a78d + 2411b85 commit 6fa7414
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
with:
submodules: recursive

- name: Set up Python
uses: actions/[email protected]
Expand All @@ -73,14 +75,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install --upgrade build twine
- name: Build and publish
env:
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload --repository testpypi dist/*
publish-to-pypi:
Expand All @@ -95,6 +97,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
with:
submodules: recursive

- name: Set up Python
uses: actions/[email protected]
Expand All @@ -104,12 +108,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install --upgrade build twine
- name: Build and publish
env:
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = python4yahdlc
version = 1.3.1
version = 1.3.2
description = Python binding of the yahdlc library allowing to encode and decode HDLC frames.
long_description = file: README.rst
keywords = hdlc, yahdlc, binding, network
Expand Down

0 comments on commit 6fa7414

Please sign in to comment.