Compare commits
6 Commits
963ac14edf
...
v0.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
| a8169542c4 | |||
| 61c372babf | |||
| 04afe0ff8d | |||
| 5ad3a91296 | |||
| 2d2125a601 | |||
| ea3e48a838 |
21
.github/workflows/liteyuki-gitea-release.yaml
vendored
Normal file
21
.github/workflows/liteyuki-gitea-release.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: Release to Liteyuki Gitea
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Build Changelog
|
||||||
|
id: github_release
|
||||||
|
uses: mikepenz/release-changelog-builder-action@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
uses: mikepenz/action-gh-release@v0.2.0-a03
|
||||||
|
with:
|
||||||
|
body: ${{steps.github_release.outputs.changelog}}
|
||||||
25
.github/workflows/liteyuki-pypi-publish.yaml
vendored
Normal file
25
.github/workflows/liteyuki-pypi-publish.yaml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Publish to Liteyuki PyPI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
liteyuki-pypi-publish:
|
||||||
|
name: Upload release to PyPI
|
||||||
|
runs-on: liteyukios-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Setup uv
|
||||||
|
uses: astral-sh/setup-uv@v6
|
||||||
|
with:
|
||||||
|
version: "latest"
|
||||||
|
|
||||||
|
- name: Build and publish
|
||||||
|
run: |
|
||||||
|
uv build
|
||||||
|
uv publish --index liteyuki-pypi --token ${{ secrets.LITEYUKI_GITEA_TOKEN }}
|
||||||
|
|
||||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -20,4 +20,8 @@ Thumbs.db
|
|||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
plugins/
|
plugins/
|
||||||
data/
|
data/
|
||||||
|
|
||||||
|
# pdm
|
||||||
|
.pdm-build/
|
||||||
|
dist/
|
||||||
10
main
10
main
@@ -1,10 +0,0 @@
|
|||||||
2025-04-28 01:58:50.080 | DEBUG | __main__:main:6 - This is a debug message
|
|
||||||
2025-04-28 01:58:50.080 | INFO | __main__:main:7 - This is an info message
|
|
||||||
2025-04-28 01:58:50.080 | WARNING | __main__:main:8 - This is a warning message
|
|
||||||
2025-04-28 01:58:50.080 | ERROR | __main__:main:9 - This is an error message
|
|
||||||
2025-04-28 01:58:50.080 | CRITICAL | __main__:main:10 - This is a critical message
|
|
||||||
2025-04-28 01:58:50.839 | DEBUG | __main__:main:6 - This is a debug message
|
|
||||||
2025-04-28 01:58:50.839 | INFO | __main__:main:7 - This is an info message
|
|
||||||
2025-04-28 01:58:50.839 | WARNING | __main__:main:8 - This is a warning message
|
|
||||||
2025-04-28 01:58:50.839 | ERROR | __main__:main:9 - This is an error message
|
|
||||||
2025-04-28 01:58:50.839 | CRITICAL | __main__:main:10 - This is a critical message
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "yukilog"
|
name = "yukilog"
|
||||||
version = "0.1.0"
|
dynamic = ["version"]
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
@@ -13,3 +13,22 @@ dev = [
|
|||||||
"mypy>=1.15.0",
|
"mypy>=1.15.0",
|
||||||
"pytest>=8.3.5",
|
"pytest>=8.3.5",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["pdm-backend >= 2.4.0"]
|
||||||
|
build-backend = "pdm.backend"
|
||||||
|
|
||||||
|
[tool.pdm.build]
|
||||||
|
includes = ["yukilog"]
|
||||||
|
|
||||||
|
[tool.pdm.version]
|
||||||
|
source = "scm"
|
||||||
|
tag_filter = "v*"
|
||||||
|
tag_regex = '^v(?:\D*)?(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$)$'
|
||||||
|
fallback_version = "0.1.0"
|
||||||
|
|
||||||
|
[[tool.uv.index]]
|
||||||
|
name = "liteyuki-pypi"
|
||||||
|
url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi/simple"
|
||||||
|
publish-url = "https://git.liteyuki.icu/api/packages/LiteyukiStudio/pypi"
|
||||||
|
explicit = true
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
def print_message(logger):
|
|
||||||
logger.success("This is a success message")
|
|
||||||
Reference in New Issue
Block a user