ci(gitea): 更新发布流程并简化版本号

- 修改 zip 文件名,使用更通用的 dist.zip
- 移除版本号中的 "-alpha" 后缀,简化版本号格式

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
李东云
2025-08-19 09:48:49 +08:00
parent 115a6b154d
commit bc9977a16f

View File

@@ -19,10 +19,10 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install zip apt-get install zip
zip -r hdk-core.dist.zip * zip -r dist.zip *
- name: Publish to registry - name: Publish to registry
run: | run: |
curl --user ch4o5:4fd300672472e666014314c1c94c604c634165a9 \ curl --user ch4o5:4fd300672472e666014314c1c94c604c634165a9 \
--upload-file ./hdk-core.dist.zip \ --upload-file ./dist.zip \
https://nest.doylee.cn/api/packages/HDK/composer?version=${{ gitea.ref_name }}-alpha https://nest.doylee.cn/api/packages/HDK/composer?version=${{ gitea.ref_name }}
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."