Skip to content

Commit 6fa7414

Browse files
committed
Merge branch 'release/1.3.2'
2 parents 7d6a78d + 2411b85 commit 6fa7414

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/test_and_publish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
steps:
6565
- name: Check out code
6666
uses: actions/checkout@v3
67+
with:
68+
submodules: recursive
6769

6870
- name: Set up Python
6971
uses: actions/setup-python@v4.5.0
@@ -73,14 +75,14 @@ jobs:
7375
- name: Install dependencies
7476
run: |
7577
python -m pip install --upgrade pip
76-
pip install setuptools wheel twine
78+
pip install --upgrade build twine
7779
7880
- name: Build and publish
7981
env:
8082
TWINE_USERNAME: '__token__'
8183
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
8284
run: |
83-
python setup.py sdist bdist_wheel
85+
python -m build
8486
twine upload --repository testpypi dist/*
8587
8688
publish-to-pypi:
@@ -95,6 +97,8 @@ jobs:
9597
steps:
9698
- name: Check out code
9799
uses: actions/checkout@v3
100+
with:
101+
submodules: recursive
98102

99103
- name: Set up Python
100104
uses: actions/setup-python@v4.5.0
@@ -104,12 +108,12 @@ jobs:
104108
- name: Install dependencies
105109
run: |
106110
python -m pip install --upgrade pip
107-
pip install setuptools wheel twine
111+
pip install --upgrade build twine
108112
109113
- name: Build and publish
110114
env:
111115
TWINE_USERNAME: '__token__'
112116
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
113117
run: |
114-
python setup.py sdist bdist_wheel
118+
python -m build
115119
twine upload dist/*

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = python4yahdlc
3-
version = 1.3.1
3+
version = 1.3.2
44
description = Python binding of the yahdlc library allowing to encode and decode HDLC frames.
55
long_description = file: README.rst
66
keywords = hdlc, yahdlc, binding, network

0 commit comments

Comments
 (0)