mirror of
https://github.com/VigorousPro/TS3-Translation_zh-CN
synced 2024-12-29 18:55:08 +08:00
fix release file not found, enable apt cache
This commit is contained in:
parent
f69317926f
commit
99d61a6bf6
@ -3,17 +3,19 @@ language: python
|
|||||||
python: 3.7
|
python: 3.7
|
||||||
sudo: required
|
sudo: required
|
||||||
|
|
||||||
|
cache:
|
||||||
|
apt: true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export TZ=Asia/Shanghai
|
- export TZ=Asia/Shanghai
|
||||||
- mkdir dist -p
|
- mkdir dist -p
|
||||||
- chmod +x ./maker.py
|
|
||||||
- sudo apt-get update -q
|
- sudo apt-get update -q
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install qt5-default qttools5-dev-tools -y -q
|
- sudo apt-get install qt5-default qttools5-dev-tools -y -q
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- "./maker.py"
|
- python3 ./maker.py
|
||||||
- rm dist/*
|
- rm dist/*
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@ -21,6 +23,7 @@ deploy:
|
|||||||
prerelease: true
|
prerelease: true
|
||||||
api_key:
|
api_key:
|
||||||
secure: Uhkopjz/RWKThMknhkOmuWU/8WZgS+0MkNKwV7ydQ0r4xat8m6DbCxmlyHM1Y5sLaC3wKwyW2CTnKue0wscDokNan+KdJLoh90xfJytBcPx33ElYEw7Gc+ChfJQy/KNxlrps4XOH2+wBTemlK2ws1btL70pHrBdgLfQtGiZKC69mz+oegQjkky7wC9JT4ne81rDtNwwV7TT2htP/ewTZejIXct7egydk0PpmXN8j9uondfblkk3t4TbsojWa7JybkE/nD/vxUIzd20gi+it4aYpkepga1cnbzm2/ZMWPeCSquu28X4vnhXW17RmHyT7L5zueL+bAz5AEwK4FfCMZDqETbXhIFz6pgsiVneZMpCr6gqNU112ihKTtVgDQrmk6xw+ST24yfqRP4qUBoF0rYz50YT1VpcucqEAuNK6nkha54P5H9xzZkQEjRLV0Gro0B5euwmPFX0KUbxaq58gUVlq0DJgWblYjILzd9/BgS0KKLmyNL1NSkwRHdn+AJ3s/1h206nzSZ2h/RnEXGzT/f2jsVwxi1QQOVFkQwyVS4IvZl2wgb0XZsK7pAnfjznAsR8NYYzcFb4S4KmYxoBGR6jr2zfw9o0LfraOEDM+A05IjYlMpZYE9i7VhQ+4rbX11cjW6gPAMT86Gqw84rsxPNe3FGyBriN1LRQybljzJe1Y=
|
secure: Uhkopjz/RWKThMknhkOmuWU/8WZgS+0MkNKwV7ydQ0r4xat8m6DbCxmlyHM1Y5sLaC3wKwyW2CTnKue0wscDokNan+KdJLoh90xfJytBcPx33ElYEw7Gc+ChfJQy/KNxlrps4XOH2+wBTemlK2ws1btL70pHrBdgLfQtGiZKC69mz+oegQjkky7wC9JT4ne81rDtNwwV7TT2htP/ewTZejIXct7egydk0PpmXN8j9uondfblkk3t4TbsojWa7JybkE/nD/vxUIzd20gi+it4aYpkepga1cnbzm2/ZMWPeCSquu28X4vnhXW17RmHyT7L5zueL+bAz5AEwK4FfCMZDqETbXhIFz6pgsiVneZMpCr6gqNU112ihKTtVgDQrmk6xw+ST24yfqRP4qUBoF0rYz50YT1VpcucqEAuNK6nkha54P5H9xzZkQEjRLV0Gro0B5euwmPFX0KUbxaq58gUVlq0DJgWblYjILzd9/BgS0KKLmyNL1NSkwRHdn+AJ3s/1h206nzSZ2h/RnEXGzT/f2jsVwxi1QQOVFkQwyVS4IvZl2wgb0XZsK7pAnfjznAsR8NYYzcFb4S4KmYxoBGR6jr2zfw9o0LfraOEDM+A05IjYlMpZYE9i7VhQ+4rbX11cjW6gPAMT86Gqw84rsxPNe3FGyBriN1LRQybljzJe1Y=
|
||||||
file: "Chinese Translation (zh-CN).ts3_translation"
|
file: Chinese_Translation_(zh-CN).ts3_translation
|
||||||
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: jitingcn/TS3-Translation_zh-CN
|
repo: jitingcn/TS3-Translation_zh-CN
|
||||||
|
2
maker.py
2
maker.py
@ -53,7 +53,7 @@ def make_package(release_list):
|
|||||||
'Description = Source Code: https://github.com/jitingcn/TS3-Translation_zh-CN']
|
'Description = Source Code: https://github.com/jitingcn/TS3-Translation_zh-CN']
|
||||||
f.write("\n".join(package_info))
|
f.write("\n".join(package_info))
|
||||||
|
|
||||||
file_name = 'Chinese Translation (zh-CN).ts3_translation'
|
file_name = 'Chinese_Translation_(zh-CN).ts3_translation'
|
||||||
print("Zip package ...")
|
print("Zip package ...")
|
||||||
with zipfile.ZipFile(file_name, 'w', zipfile.ZIP_DEFLATED) as release:
|
with zipfile.ZipFile(file_name, 'w', zipfile.ZIP_DEFLATED) as release:
|
||||||
release.write(ini, "package.ini")
|
release.write(ini, "package.ini")
|
||||||
|
Loading…
Reference in New Issue
Block a user