Skip to content

Commit 0b45771

Browse files
author
root
committed
update to v0.1.3
1 parent 519a220 commit 0b45771

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/build_wheels.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
push:
77
tags:
8-
- "v*.*.*"
8+
- "v*"
99

1010
jobs:
1111
build_sdist:
@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23+
fetch-tags: true
2324

2425
- name: Set up python 3.12
2526
uses: actions/setup-python@v5
@@ -63,14 +64,6 @@ jobs:
6364
python-version: "3.8"
6465
arch: arm64
6566
# macOS exclusions
66-
- os: macos-latest
67-
arch: x86
68-
- os: macos-latest
69-
arch: aarch64
70-
- os: macos-latest
71-
arch: ppc64le
72-
- os: macos-latest
73-
arch: s390x
7467
- os: macos-latest
7568
arch: x86
7669
- os: macos-latest
@@ -90,6 +83,7 @@ jobs:
9083
uses: actions/checkout@v4
9184
with:
9285
fetch-depth: 0
86+
fetch-tags: true
9387

9488
- name: Set up QEMU
9589
if: runner.os == 'Linux' && matrix.arch != 'x86_64'
@@ -153,7 +147,7 @@ jobs:
153147
path: dist/*.whl
154148

155149
upload_to_pypi:
156-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
150+
if: startsWith(github.ref, 'refs/tags/v')
157151
needs: ["build_sdist", "build_wheels"]
158152
runs-on: ubuntu-latest
159153
steps:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry_dynamic_versioning.backend"
44

55
[tool.poetry]
66
name = "python-newtype"
7-
version = "v0.1.2"
7+
version = "0.1.3"
88
homepage = "https://github.com/jymchng/python-newtype-dev"
99
repository = "https://github.com/jymchng/python-newtype-dev"
1010
license = "Apache-2.0"

0 commit comments

Comments
 (0)