Skip to content

Commit 7d6a78d

Browse files
committed
Merge branch 'release/1.3.1'
2 parents 1d59a12 + e8cadb6 commit 7d6a78d

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

.github/workflows/test_and_publish.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,10 @@ jobs:
5656
name: Publish to TestPyPI
5757
environment: staging
5858
runs-on: ubuntu-latest
59-
needs:
60-
- is-duplicate
61-
- test-code
59+
needs: [test-code]
6260
if: |
63-
needs.is-duplicate.outputs.should_skip != 'true' &&
64-
github.ref == 'refs/heads/main' &&
65-
github.event_name == 'push'
61+
!failure() &&
62+
startsWith(github.ref, 'refs/tags/')
6663
6764
steps:
6865
- name: Check out code
@@ -90,13 +87,10 @@ jobs:
9087
name: Publish to PyPI
9188
environment: production
9289
runs-on: ubuntu-latest
93-
needs:
94-
- is-duplicate
95-
- publish-to-test-pypi
90+
needs: [publish-to-test-pypi]
9691
if: |
97-
needs.is-duplicate.outputs.should_skip != 'true' &&
98-
github.ref == 'refs/heads/main' &&
99-
github.event_name == 'push'
92+
!failure() &&
93+
startsWith(github.ref, 'refs/tags/')
10094
10195
steps:
10296
- name: Check out code

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.0
3+
version = 1.3.1
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)