Skip to content

Commit b989970

Browse files
committed
fix: tagname & .whl
1 parent b6ad793 commit b989970

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
uv build
154154
uv run task repack
155155
mv neonize/*.so LIBS
156-
cp neonize/*.whl LIBS/
156+
cp dist/*.whl LIBS/
157157
if [[ $UV_PUBLISH_TOKEN ]];then
158158
uv publish
159159
fi
@@ -224,7 +224,7 @@ jobs:
224224
uv build
225225
uv run task repack
226226
mv neonize/*.so LIBS
227-
cp neonize/*.whl LIBS/
227+
cp dist/*.whl LIBS/
228228
if [[ $UV_PUBLISH_TOKEN ]];then
229229
uv publish
230230
fi
@@ -285,7 +285,7 @@ jobs:
285285
uv run task build goneonize
286286
uv build
287287
uv run task repack
288-
cp neonize/*.whl LIBS/
288+
cp dist/*.whl LIBS/
289289
mv neonize/*.dylib LIBS/
290290
if [[ $UV_PUBLISH_TOKEN ]];then
291291
uv publish

tools/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ def get_last_goneonize_version(self) -> str:
7878
for data in r:
7979
data['created_at'] = datetime.strptime(data['created_at'], "%Y-%m-%dT%H:%M:%SZ").timestamp()
8080
for release in sorted(r, key=lambda x:x['created_at'], reverse=True):
81-
if len(release["assets"]):
81+
if len(release["assets"]) > 10:
8282
return release["tag_name"]
8383
raise TypeError("Unavailable")

tools/version_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
print(version.neonize)
4646
elif parse.pypi_format:
4747
print(version.version_pypi_standard)
48+
else:
49+
print(version.neonize)
4850
case "goneonize":
4951
version = Version()
5052
github = Github()

0 commit comments

Comments
 (0)