Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 06ae7e6661 |
@@ -22,7 +22,9 @@ jobs:
|
|||||||
echo "Current version: ${{ github.ref_name }}"
|
echo "Current version: ${{ github.ref_name }}"
|
||||||
wget -O /usr/bin/changelog https://gitea.com/gitea/changelog/releases/download/v1.0.0/changelog-1.0.0-linux-amd64
|
wget -O /usr/bin/changelog https://gitea.com/gitea/changelog/releases/download/v1.0.0/changelog-1.0.0-linux-amd64
|
||||||
chmod +x /usr/bin/changelog
|
chmod +x /usr/bin/changelog
|
||||||
changelog -m=${{ github.ref_name }} -c=./changelog.yaml
|
changelog_output=$(changelog generate -m=${{ github.ref_name }} -c=./changelog.yaml)
|
||||||
|
echo "$changelog_output"
|
||||||
|
echo "::set-output name=changelog::$changelog_output"
|
||||||
|
|
||||||
# 创建 Gitea Release
|
# 创建 Gitea Release
|
||||||
- name: Create Gitea Release
|
- name: Create Gitea Release
|
||||||
@@ -36,7 +38,7 @@ jobs:
|
|||||||
"tag_name": "'"${{ github.ref_name }}"'",
|
"tag_name": "'"${{ github.ref_name }}"'",
|
||||||
"target_commitish": "main",
|
"target_commitish": "main",
|
||||||
"name": "'"$TAG_NAME"'",
|
"name": "'"$TAG_NAME"'",
|
||||||
"body": "'"waiting..."'",
|
"body": "'"${{ steps.generate_changelog.outputs.changelog }}"'",
|
||||||
"draft": false,
|
"draft": false,
|
||||||
"prerelease": false
|
"prerelease": false
|
||||||
}'
|
}'
|
||||||
18
README.md
18
README.md
@@ -1,18 +0,0 @@
|
|||||||
## 怎么用
|
|
||||||
|
|
||||||
uv作为依赖管理,可以在pyproject.toml中加入,其他自行文档
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# 索引和源
|
|
||||||
[[tool.uv.index]]
|
|
||||||
name = "liteyuki-pypi"
|
|
||||||
url = "https://git.liteyuki.org/api/packages/LiteyukiStudio/pypi/simple"
|
|
||||||
publish-url = "https://git.liteyuki.org/api/packages/LiteyukiStudio/pypi"
|
|
||||||
explicit = true
|
|
||||||
|
|
||||||
# 从轻雪源安装的包请在此标记
|
|
||||||
[tool.uv.sources]
|
|
||||||
yukilog = [
|
|
||||||
{ index = "liteyuki-pypi" },
|
|
||||||
]
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user