Skip to content

Commit

Permalink
Merge branch 'release/1.3.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
SkypLabs committed Apr 28, 2023
2 parents af9eb32 + e11ef0f commit 8f31468
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/test_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,16 @@ jobs:
build-wheels:
name: Build wheels
runs-on: ${{ matrix.os }}
needs: is-duplicate
needs: test-code
if: |
needs.is-duplicate.outputs.should_skip != 'true' &&
startsWith(github.ref, 'refs/heads/develop')
!failure() &&
(
startsWith(github.ref, 'refs/heads/develop') ||
(
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags/v')
)
)
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -81,10 +87,16 @@ jobs:
build-sdist:
name: Build source distribution
runs-on: ubuntu-latest
needs: is-duplicate
needs: test-code
if: |
needs.is-duplicate.outputs.should_skip != 'true' &&
startsWith(github.ref, 'refs/heads/develop')
!failure() &&
(
startsWith(github.ref, 'refs/heads/develop') ||
(
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags/v')
)
)
steps:
- name: Check out code
Expand All @@ -107,7 +119,7 @@ jobs:
name: Publish to TestPyPI
environment: staging
runs-on: ubuntu-latest
needs: [test-code, build-sdist, build-wheels]
needs: [build-sdist, build-wheels]
if: |
!failure() &&
github.event_name == 'push' &&
Expand Down
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.4
version = 1.3.5
description = Python binding of the yahdlc library allowing to encode and decode HDLC frames.
long_description = file: README.rst
long_description_content_type = text/x-rst
Expand Down

0 comments on commit 8f31468

Please sign in to comment.