WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit dccf1b8

Browse files
committed
modify publish.yml to update the github release
1 parent a15be8a commit dccf1b8

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build-and-publish:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # This is needed for creating releases
1113
steps:
1214
- name: Check out repository
1315
uses: actions/checkout@v4
@@ -43,4 +45,12 @@ jobs:
4345
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
4446
run: |
4547
twine check dist/*
46-
twine upload dist/*
48+
twine upload dist/*
49+
50+
- name: Create Release
51+
uses: softprops/action-gh-release@v1
52+
with:
53+
name: Release v${{ github.ref_name }}
54+
draft: false
55+
prerelease: false
56+
generate_release_notes: true

pyproject.toml

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

55
[project]
66
name = "ostris-ai-toolkit"
7-
version = "0.2.5"
7+
version = "0.2.6"
88
description = "A toolkit for AI-related tasks"
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)